File tree 7 files changed +3497
-2731
lines changed
7 files changed +3497
-2731
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 @@ -25,19 +25,24 @@ jobs:
25
25
- name : Setup node
26
26
uses : actions/setup-node@v3
27
27
with :
28
- node-version : 18.16.1
28
+ node-version : 20
29
+ - name : Install pnpm
30
+ uses : pnpm/action-setup@v4
31
+ with :
32
+ version : 10
33
+ run_install : false
29
34
- name : Set up foundry
30
35
uses : foundry-rs/foundry-toolchain@v1
31
36
- name : Install
32
- run : yarn install --frozen-lockfile
37
+ run : pnpm install --frozen-lockfile
33
38
- name : Check Format
34
- run : yarn prettier . --check
39
+ run : pnpm prettier . --check
35
40
- name : Test
36
41
uses : nick-fields/retry@v2
37
42
with :
38
43
timeout_minutes : 10
39
44
max_attempts : 3
40
- command : yarn test
45
+ command : pnpm test
41
46
test-branch :
42
47
if : github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
43
48
env :
@@ -58,16 +63,21 @@ jobs:
58
63
- name : Setup node
59
64
uses : actions/setup-node@v3
60
65
with :
61
- node-version : 18.16.1
66
+ node-version : 20
67
+ - name : Install pnpm
68
+ uses : pnpm/action-setup@v4
69
+ with :
70
+ version : 10
71
+ run_install : false
62
72
- name : Set up foundry
63
73
uses : foundry-rs/foundry-toolchain@v1
64
74
- name : Install
65
- run : yarn install --frozen-lockfile
75
+ run : pnpm install --frozen-lockfile
66
76
- name : Check Format
67
- run : yarn prettier . --check
77
+ run : pnpm prettier . --check
68
78
- name : Test
69
79
uses : nick-fields/retry@v2
70
80
with :
71
81
timeout_minutes : 10
72
82
max_attempts : 3
73
- command : yarn test
83
+ 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