Skip to content

Bump braces from 3.0.2 to 3.0.3 (#268) #1208

Bump braces from 3.0.2 to 3.0.3 (#268)

Bump braces from 3.0.2 to 3.0.3 (#268) #1208

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, 22]
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