Skip to content

Commit 99e9125

Browse files
committed
update github workflow
update version to 3.1.7
1 parent 271445c commit 99e9125

5 files changed

Lines changed: 4381 additions & 2632 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v7
1616
- uses: volta-cli/action@v5
1717
with:
18-
node-version: 24
18+
node-version: 22.23.0
1919
- run: npm ci
2020
- run: npm run lint
2121
- run: npm run build
@@ -59,7 +59,7 @@ jobs:
5959
args: unzip -qq node_modules.zip -d .
6060
- uses: volta-cli/action@v4
6161
with:
62-
node-version: 24
62+
node-version: 22.23.0
6363
- run: npm run coverage
6464
- uses: actions/upload-artifact@v4
6565
with:
@@ -91,4 +91,5 @@ jobs:
9191
- uses: volta-cli/action@v4
9292
with:
9393
node-version: ${{ matrix.node }}
94-
- run: volta run --node ${{ matrix.node }} npm test
94+
# Don't use npm here — volta pins npm@11 which requires Node 20+ and node: imports
95+
- run: volta run --node ${{ matrix.node }} node node_modules/mocha/bin/mocha --require source-map-support/register -R spec -b "test/*.spec.js"

0 commit comments

Comments
 (0)