Skip to content

Commit

Permalink
ci: allow Node.js Current tests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Aug 11, 2023
1 parent bc2d267 commit 7a0782e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,28 @@ jobs:
test:
strategy:
matrix:
# Test with Node.js v16 (LTS), v18 (LTS), and v20 (Current)
# Test with active LTS versions
node:
- 16
- 18
- 20
# Test with Ubuntu, macOS, and Windows
os:
- ubuntu-latest
- macos-latest
- windows-latest
experimental: [false]
# Also test with current version, but allow tests to fail
include:
- node: 20
os: ubuntu-latest
experimental: true
- node: 20
os: macos-latest
experimental: true
- node: 20
os: windows-latest
experimental: true
continue-on-error: ${{ matrix.experimental }}
name: Node.js v${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 7a0782e

Please sign in to comment.