File tree Expand file tree Collapse file tree 3 files changed +16
-15
lines changed
Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 11name : Publish NPM package
22on :
3- push :
4- branches : [ 'master' ]
5- release :
6- types : [ published ]
3+ pull_request :
74
5+ permissions :
6+ contents : read
87jobs :
9- publish :
10- uses : wavesplatform/publish-to-npm/.github/workflows/publish.yml@7d9462af686d83552d72097bf47a892e43d11f6e
11- with :
12- environment : NPMJS
13- event_name : ${{ github.event_name }}
14- test : true
15- version : ${{ github.event.release.tag_name }}
16- permissions :
17- id-token : write
18- contents : read
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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments