Skip to content

Commit

Permalink
fix fail-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 12, 2024
1 parent e4718e1 commit 8aa4244
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ name: Test

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
test:
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-14]
node-version: [18.x, 20.x, 22.x, 23.x]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm test
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Run tests
run: npm test

0 comments on commit 8aa4244

Please sign in to comment.