Skip to content

Bump npm-run-all2 from 6.1.2 to 6.2.0 (#267) #1203

Bump npm-run-all2 from 6.1.2 to 6.2.0 (#267)

Bump npm-run-all2 from 6.1.2 to 6.2.0 (#267) #1203

Workflow file for this run

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: [18, 20]
os: [ubuntu-latest, windows-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v4
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