File tree 7 files changed +3491
-2730
lines changed
7 files changed +3491
-2730
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,20 @@ jobs:
20
20
- name : Setup node
21
21
uses : actions/setup-node@v3
22
22
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
24
29
- name : Set up foundry
25
30
uses : foundry-rs/foundry-toolchain@v1
26
31
- name : Install
27
- run : yarn install --frozen-lockfile
32
+ run : pnpm install --frozen-lockfile
28
33
- name : Bundle
29
34
run : |
30
- yarn bundle
31
- yarn format-bundle
35
+ pnpm bundle
36
+ pnpm format-bundle
32
37
git config user.name modules-registry-bot
33
38
git config user.email [email protected]
34
39
git add .
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ jobs:
29
29
- name : Set up foundry
30
30
uses : foundry-rs/foundry-toolchain@v1
31
31
- name : Install
32
- run : yarn install --frozen-lockfile
32
+ run : pnpm install --frozen-lockfile
33
33
- name : Check Format
34
- run : yarn prettier . --check
34
+ run : pnpm prettier . --check
35
35
- name : Test
36
36
uses : nick-fields/retry@v2
37
37
with :
38
38
timeout_minutes : 10
39
39
max_attempts : 3
40
- command : yarn test
40
+ command : pnpm test
41
41
test-branch :
42
42
if : github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
43
43
env :
@@ -58,16 +58,21 @@ jobs:
58
58
- name : Setup node
59
59
uses : actions/setup-node@v3
60
60
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
62
67
- name : Set up foundry
63
68
uses : foundry-rs/foundry-toolchain@v1
64
69
- name : Install
65
- run : yarn install --frozen-lockfile
70
+ run : pnpm install --frozen-lockfile
66
71
- name : Check Format
67
- run : yarn prettier . --check
72
+ run : pnpm prettier . --check
68
73
- name : Test
69
74
uses : nick-fields/retry@v2
70
75
with :
71
76
timeout_minutes : 10
72
77
max_attempts : 3
73
- command : yarn test
78
+ command : pnpm test
Original file line number Diff line number Diff line change
1
+ pnpm-lock.yaml
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"type" : " module" ,
7
7
"scripts" : {
8
- "test" : " NODE_OPTIONS=--experimental-vm-modules yarn exec jest -- -i" ,
8
+ "test" : " NODE_OPTIONS=--experimental-vm-modules pnpm jest test.ts -i" ,
9
9
"bundle" : " tsx ./publish.ts" ,
10
10
"format-all" : " prettier --write ." ,
11
11
"format-bundle" : " prettier --write modules.json"
12
12
},
13
13
"devDependencies" : {
14
- "@hatsprotocol/modules-sdk" : " 1.0 .0" ,
14
+ "@hatsprotocol/modules-sdk" : " 1.5 .0" ,
15
15
"@types/jest" : " ^29.5.4" ,
16
- "@viem/anvil" : " 0.0.5 " ,
16
+ "@viem/anvil" : " 0.0.10 " ,
17
17
"async-sema" : " ^3.1.1" ,
18
18
"axios" : " ^1.6.1" ,
19
19
"dotenv" : " ^16.3.1" ,
24
24
"tslib" : " ^2.6.2" ,
25
25
"tsx" : " ^4.7.0" ,
26
26
"typescript" : " ^5.1.6" ,
27
- "viem" : " 1.16.5 " ,
27
+ "viem" : " 2.26.3 " ,
28
28
"zod" : " ^3.22.4"
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments