@@ -169,20 +169,19 @@ jobs:
169169 uses : actions/checkout@v3
170170 with :
171171 ref : ${{ needs.set-tags.outputs.git_ref }}
172- - name : Use Node.js 18.x
173- uses : actions/setup-node@v3
172+ - uses : oven-sh/setup-bun@v1
174173 with :
175- node -version : 18.x
174+ bun -version : latest
176175 - name : Check with Prettier
177176 run : |
178- npx prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' \
177+ bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' \
179178 || (git diff --quiet \
180179 || (echo 'Unable to show a diff because there are unstaged changes'; false) \
181- && (npx prettier@2 --ignore-path \
180+ && (bun x prettier@2 --ignore-path \
182181 .prettierignore '**/*.(yml|js|ts|json)' -w --loglevel silent \
183182 && git --no-pager diff; git restore .) && false)
184183
185- npx prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)'
184+ bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)'
186185
187186 check-cargo-toml-format :
188187 name : " Check Cargo.toml files format"
@@ -374,7 +373,7 @@ jobs:
374373 - name : Use Node.js 18.x
375374 uses : actions/setup-node@v3
376375 with :
377- node-version : 18 .x
376+ node-version : 20 .x
378377 - name : Get tracing runtimes
379378 run : |
380379 ./scripts/build-last-tracing-runtime.sh ${{ needs.set-tags.outputs.git_branch }}
@@ -493,10 +492,10 @@ jobs:
493492 ref : ${{ needs.set-tags.outputs.git_ref }}
494493 - uses : pnpm/action-setup@v2
495494 with :
496- version : 7
495+ version : 8
497496 - uses : actions/setup-node@v3
498497 with :
499- node-version : 18 .x
498+ node-version : 20 .x
500499 cache : " pnpm"
501500 cache-dependency-path : test/pnpm-lock.yaml
502501 - name : Create local folders
@@ -511,7 +510,7 @@ jobs:
511510 - name : " Install and run upgrade test"
512511 run : |
513512 cd test
514- pnpm i
513+ pnpm install
515514 pnpm moonwall test upgrade_${{matrix.chain}}
516515
517516 zombie_upgrade_test :
@@ -532,12 +531,10 @@ jobs:
532531 ref : ${{ needs.set-tags.outputs.git_ref }}
533532 - uses : pnpm/action-setup@v2
534533 with :
535- version : 7
534+ version : 8
536535 - uses : actions/setup-node@v3
537536 with :
538- node-version : 18.x
539- cache : " pnpm"
540- cache-dependency-path : test/pnpm-lock.yaml
537+ node-version : 20.x
541538 - name : Create local folders
542539 run : |
543540 mkdir -p target/release/wbuild/${{ matrix.chain }}-runtime/
@@ -573,12 +570,12 @@ jobs:
573570 - name : " Run zombie upgrade test"
574571 run : |
575572 cd test
576- pnpm i
573+ pnpm install
577574
578575 ## Generate old spec using latest published node, modify it, and generate raw spec
579576 chmod uog+x tmp/moonbeam_rt
580577 tmp/moonbeam_rt build-spec --chain ${{ matrix.chain }}-local > tmp/${{ matrix.chain }}-plain-spec.json
581- pnpm ts-node --esm --swc scripts/modify-plain-specs.ts process tmp/${{ matrix.chain }}-plain-spec.json tmp/${{ matrix.chain }}-modified-spec.json
578+ pnpm tsx scripts/modify-plain-specs.ts process tmp/${{ matrix.chain }}-plain-spec.json tmp/${{ matrix.chain }}-modified-spec.json
582579 tmp/moonbeam_rt build-spec --chain tmp/${{ matrix.chain }}-modified-spec.json --raw > tmp/${{ matrix.chain }}-raw-spec.json
583580
584581 ## Start zombie network and run tests
0 commit comments