Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit af3beb1

Browse files
committed
single-pool-js: fix test job
1 parent 4e1c483 commit af3beb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pull-request-single-pool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
js-test:
119119
runs-on: ubuntu-latest
120120
env:
121-
NODE_VERSION: 20
121+
NODE_VERSION: 20.5
122122
needs: cargo-test-sbf
123123
steps:
124124
- uses: actions/checkout@v2

single-pool/js/packages/classic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": "rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./ts-fixup.sh",
1414
"lint": "eslint --max-warnings 0 .",
1515
"lint:fix": "eslint . --fix",
16-
"test": "sed -i '1s/.*/{ \"type\": \"module\",/' package.json && NODE_OPTIONS='--loader=tsx' ava ; sed -i '1s/.*/{/' package.json"
16+
"test": "sed -i '1s/.*/{ \"type\": \"module\",/' package.json && NODE_OPTIONS='--loader=tsx' ava ; ret=$?; sed -i '1s/.*/{/' package.json && exit $ret"
1717
},
1818
"devDependencies": {
1919
"@types/node": "^20.9.0",

0 commit comments

Comments
 (0)