Skip to content

Bump eslint-plugin-prettier from 5.1.3 to 5.2.3 #1233

Bump eslint-plugin-prettier from 5.1.3 to 5.2.3

Bump eslint-plugin-prettier from 5.1.3 to 5.2.3 #1233

Workflow file for this run

name: build
on: [push, pull_request]
env:
CI: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: lint
run: npm run lint
- name: test
run: npm test -- --coverage
- name: examples
run: |
npm pack
tar xvf babel-plugin-transform-amd-to-commonjs-*.tgz
cd examples/transform-amd-to-commonjs-example
npm ci
npm test && npm run build # test with latest published version
npm install ../../package
npm test && npm run build # test with HEAD version
cd -
- name: upload coverage
if: matrix['node-version'] == '20.x'
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: build
run: npm run build