Skip to content

Commit 72ea540

Browse files
authored
Upgrade to Node 24 with shared test workflow (#5)
* Upgrade to Node 24 with shared test workflow Migrate test.yml to use shared reusable workflow from activeprospect/github-action-workflows. Add .nvmrc and engines field. * trigger CI after shared workflow fix Made-with: Cursor
1 parent 1d5552c commit 72ea540

4 files changed

Lines changed: 944 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
node-version: [16.x, 18.x, latest]
8+
node-version: [20.x, 24.x]
99
env:
1010
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1313
- name: Use Node.js ${{ matrix.node-version }}
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1515
with:
1616
node-version: ${{ matrix.node-version }}
1717
- run: npm install
1818
- name: Run tests
19-
run: npx nyc@latest --reporter=lcov npm test
19+
run: npx nyc@17.1.0 --reporter=lcov npm test

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

0 commit comments

Comments
 (0)