Skip to content

Commit

Permalink
Remove nodejs v14 from ci, cannot test it with builtin runner
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Aug 28, 2024
1 parent 93eabf4 commit 2e49823
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Node CI

name: Run node.js tests
on:
- push
- pull_request
jobs:
test:
name: v${{ matrix.version }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: v${{ matrix.node }} @ ubuntu-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [14, 16, 18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]
node:
- 16
- 18
- 20
- 22
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- name: Use Node.js ${{ matrix.version }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: ${{ matrix.version }}
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build --if-present
- run: npm test

0 comments on commit 2e49823

Please sign in to comment.