Replace dependency npm-run-all with npm-run-all2 ^5.0.0 #115
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: test | |
on: | |
- push | |
- pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-and-unit-testing: | |
name: lint and unit testing | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
# - 8 | |
# - 10 | |
# - 12 | |
- 14 | |
- 16 | |
- 18 | |
- 20 | |
- lts/* | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: ${{ matrix.node }} | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test |