Replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
- name: Install NPM packages | |
run: yarn install --frozen-lockfile | |
- name: Check Linting Rules and Types | |
run: yarn lint | |
- name: test | |
run: yarn test --coverage | |
- name: Upload coverage | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: | | |
coverage | |
!coverage/lcov-report | |
- name: build | |
run: yarn build |