File tree Expand file tree Collapse file tree 5 files changed +27
-2730
lines changed
Expand file tree Collapse file tree 5 files changed +27
-2730
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,20 @@ jobs:
2020 - name : Setup node
2121 uses : actions/setup-node@v3
2222 with :
23- node-version : 18.16.1
23+ node-version : 20
24+ - name : Install pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : 10
28+ run_install : false
2429 - name : Set up foundry
2530 uses : foundry-rs/foundry-toolchain@v1
2631 - name : Install
27- run : yarn install --frozen-lockfile
32+ run : pnpm install --frozen-lockfile
2833 - name : Bundle
2934 run : |
30- yarn bundle
31- yarn format-bundle
35+ pnpm bundle
36+ pnpm format-bundle
3237 git config user.name modules-registry-bot
3338 git config user.email [email protected] 3439 git add .
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ jobs:
2929 - name : Set up foundry
3030 uses : foundry-rs/foundry-toolchain@v1
3131 - name : Install
32- run : yarn install --frozen-lockfile
32+ run : pnpm install --frozen-lockfile
3333 - name : Check Format
34- run : yarn prettier . --check
34+ run : pnpm prettier . --check
3535 - name : Test
3636 uses : nick-fields/retry@v2
3737 with :
3838 timeout_minutes : 10
3939 max_attempts : 3
40- command : yarn test
40+ command : pnpm test
4141 test-branch :
4242 if : github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
4343 env :
@@ -58,16 +58,21 @@ jobs:
5858 - name : Setup node
5959 uses : actions/setup-node@v3
6060 with :
61- node-version : 18.16.1
61+ node-version : 20
62+ - name : Install pnpm
63+ uses : pnpm/action-setup@v4
64+ with :
65+ version : 10
66+ run_install : false
6267 - name : Set up foundry
6368 uses : foundry-rs/foundry-toolchain@v1
6469 - name : Install
65- run : yarn install --frozen-lockfile
70+ run : pnpm install --frozen-lockfile
6671 - name : Check Format
67- run : yarn prettier . --check
72+ run : pnpm prettier . --check
6873 - name : Test
6974 uses : nick-fields/retry@v2
7075 with :
7176 timeout_minutes : 10
7277 max_attempts : 3
73- command : yarn test
78+ command : pnpm test
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "type" : " module" ,
77 "scripts" : {
8- "test" : " NODE_OPTIONS=--experimental-vm-modules yarn exec jest -- -i" ,
8+ "test" : " NODE_OPTIONS=--experimental-vm-modules pnpm jest test.ts -i" ,
99 "bundle" : " tsx ./publish.ts" ,
1010 "format-all" : " prettier --write ." ,
1111 "format-bundle" : " prettier --write modules.json"
1212 },
1313 "devDependencies" : {
14- "@hatsprotocol/modules-sdk" : " 1.0 .0" ,
14+ "@hatsprotocol/modules-sdk" : " 1.5 .0" ,
1515 "@types/jest" : " ^29.5.4" ,
16- "@viem/anvil" : " 0.0.5 " ,
16+ "@viem/anvil" : " 0.0.10 " ,
1717 "async-sema" : " ^3.1.1" ,
1818 "axios" : " ^1.6.1" ,
1919 "dotenv" : " ^16.3.1" ,
2424 "tslib" : " ^2.6.2" ,
2525 "tsx" : " ^4.7.0" ,
2626 "typescript" : " ^5.1.6" ,
27- "viem" : " 1.16.5 " ,
27+ "viem" : " 2.26.3 " ,
2828 "zod" : " ^3.22.4"
2929 }
3030}
Original file line number Diff line number Diff line change 1+ onlyBuiltDependencies :
2+ - esbuild
You can’t perform that action at this time.
0 commit comments