Bump npm-run-all2 from 6.0.5 to 6.0.6 (#243) #1157
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
env: | |
FORCE_COLOR: 2 | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Node ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node: ['14.14', 16, 18, 20] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run test-ci | |
- name: Run CLI tests | |
run: npm run test:cli | |
id: cli_tests | |
continue-on-error: true | |
- name: Check CLI tests' status | |
shell: bash | |
run: | | |
if [[ ${{ steps.cli_tests.outcome }} == "failure" ]]; then exit 0; else exit 1; fi |