Skip to content

Commit 1aeca5e

Browse files
committed
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.
1 parent 1d5552c commit 1aeca5e

4 files changed

Lines changed: 942 additions & 17 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,5 @@ name: Node.js CI
22
on: push
33
jobs:
44
test:
5-
runs-on: ubuntu-latest
6-
strategy:
7-
matrix:
8-
node-version: [16.x, 18.x, latest]
9-
env:
10-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11-
steps:
12-
- uses: actions/checkout@v3
13-
- name: Use Node.js ${{ matrix.node-version }}
14-
uses: actions/setup-node@v3
15-
with:
16-
node-version: ${{ matrix.node-version }}
17-
- run: npm install
18-
- name: Run tests
19-
run: npx nyc@latest --reporter=lcov npm test
5+
uses: activeprospect/github-action-workflows/.github/workflows/test.yml@master
6+
secrets: inherit

.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)