Skip to content

Commit 6dd7db9

Browse files
committed
run tests on PR
1 parent e4eed5a commit 6dd7db9

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Run tests
2+
on:
3+
pull_request:
4+
5+
permissions:
6+
contents: read
7+
jobs:
8+
run-tests:
9+
name: Run tests
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
13+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
14+
with:
15+
registry-url: 'https://registry.npmjs.org'
16+
node-version: '>=24.7.0'
17+
- run: npm i
18+
- run: npm test
19+
- run: npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"testCommand": "jest",
88
"prepublishOnly": "npm run build",
99
"build": "tsc -p ./tsconfig-cjs.json",
10-
"test": "node-state -e -n -m typescript -o ./test/_state.ts -r"
10+
"test": "node-state -e -n -m typescript -i ghcr.io/wavesplatform/waves-private-node:finality -o ./test/_state.ts -r"
1111
},
1212
"repository": {
1313
"type": "git",

0 commit comments

Comments
 (0)