File tree Expand file tree Collapse file tree 9 files changed +1274
-1293
lines changed Expand file tree Collapse file tree 9 files changed +1274
-1293
lines changed Original file line number Diff line number Diff line change 3
3
using : " composite"
4
4
steps :
5
5
- uses : actions/checkout@v3
6
-
7
- with :
8
- version : ${{ matrix.pnpm-version }}
9
- - name : Set up Node ${{ matrix.node-version }}
6
+ - name : Set up pnpm
7
+
8
+ - name : Set up node@18
10
9
uses : actions/setup-node@v3
11
10
with :
12
11
cache : ' pnpm'
13
- node-version : ${{ matrix.node-version }}
12
+ node-version : 18
14
13
- name : Cache pnpm
15
14
uses : actions/cache@v3
16
15
with :
Original file line number Diff line number Diff line change 10
10
install :
11
11
name : Install
12
12
runs-on : ubuntu-latest
13
- strategy :
14
- matrix :
15
- node-version : [18]
16
- pnpm-version : [7]
17
13
steps :
18
14
- uses : actions/checkout@v3
19
15
- name : Setup
25
21
runs-on : ubuntu-latest
26
22
strategy :
27
23
matrix :
28
- node-version : [18]
29
- pnpm-version : [7]
24
+ transport-mode : ['http', 'webSocket']
30
25
steps :
31
26
- uses : actions/checkout@v3
32
27
- name : Setup
Original file line number Diff line number Diff line change 13
13
install :
14
14
name : Install
15
15
runs-on : ubuntu-latest
16
- strategy :
17
- matrix :
18
- node-version : [18]
19
- pnpm-version : [7]
20
16
steps :
21
17
- uses : actions/checkout@v3
22
18
- name : Setup
26
22
name : Lint
27
23
needs : install
28
24
runs-on : ubuntu-latest
29
- strategy :
30
- matrix :
31
- node-version : [18]
32
- pnpm-version : [7]
33
25
steps :
34
26
- uses : actions/checkout@v3
35
27
- name : Setup
56
48
name : Build
57
49
needs : lint
58
50
runs-on : ubuntu-latest
59
- strategy :
60
- matrix :
61
- node-version : [18]
62
- pnpm-version : [7]
63
51
steps :
64
52
- uses : actions/checkout@v3
65
53
- name : Setup
73
61
runs-on : ubuntu-latest
74
62
strategy :
75
63
matrix :
76
- node-version : [18]
77
- pnpm-version : [7]
78
64
shard : [1, 2, 3]
79
65
total-shards : [3]
80
66
transport-mode : ['http', 'webSocket']
@@ -114,10 +100,6 @@ jobs:
114
100
name : Test Types
115
101
needs : lint
116
102
runs-on : ubuntu-latest
117
- strategy :
118
- matrix :
119
- node-version : [18]
120
- pnpm-version : [7]
121
103
steps :
122
104
- uses : actions/checkout@v3
123
105
- name : Setup
@@ -131,10 +113,6 @@ jobs:
131
113
name : Benchmark
132
114
needs : lint
133
115
runs-on : ubuntu-latest
134
- strategy :
135
- matrix :
136
- node-version : [18]
137
- pnpm-version : [7]
138
116
steps :
139
117
- uses : actions/checkout@v3
140
118
- name : Setup
Original file line number Diff line number Diff line change @@ -13,22 +13,17 @@ jobs:
13
13
build_and_publish :
14
14
name : Release (canary)
15
15
runs-on : ubuntu-latest
16
- strategy :
17
- matrix :
18
- node-version : [18]
19
- pnpm-version : [7]
20
16
steps :
21
17
- uses : actions/checkout@v3
22
18
with :
23
19
fetch-depth : 0
24
-
25
- with :
26
- version : ${{ matrix.pnpm-version }}
27
- - name : Set up Node ${{ matrix.node-version }}
20
+ - name : Set up pnpm
21
+
22
+ - name : Set up node@18
28
23
uses : actions/setup-node@v3
29
24
with :
30
25
cache : ' pnpm'
31
- node-version : ${{ matrix.node-version }}
26
+ node-version : 18
32
27
registry-url : ' https://registry.npmjs.org'
33
28
- name : Install Dependencies
34
29
run : pnpm i --ignore-scripts
Original file line number Diff line number Diff line change 9
9
release :
10
10
name : Release
11
11
runs-on : ubuntu-latest
12
- strategy :
13
- matrix :
14
- node-version : [18]
15
- pnpm-version : [7]
16
12
steps :
17
13
- uses : actions/checkout@v3
18
14
with :
19
15
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
20
16
fetch-depth : 0
21
17
22
-
23
- with :
24
- version : ${{ matrix.pnpm-version }}
25
- - name : Set up Node ${{ matrix.node-version }}
18
+ - name : Set up pnpm
19
+
20
+ - name : Set up node@18
26
21
uses : actions/setup-node@v3
27
22
with :
28
23
cache : ' pnpm'
29
- node-version : ${{ matrix.node-version }}
24
+ node-version : 18
25
+ registry-url : ' https://registry.npmjs.org'
30
26
- name : Install Dependencies
31
27
run : pnpm i --ignore-scripts
32
28
Original file line number Diff line number Diff line change 6
6
build :
7
7
name : Compressed Size
8
8
runs-on : ubuntu-latest
9
- strategy :
10
- matrix :
11
- node-version : [18]
12
- pnpm-version : [7]
13
9
steps :
14
10
- uses : actions/checkout@v3
15
11
- name : Setup
16
12
uses : ./.github/actions/setup
17
13
- uses : preactjs/compressed-size-action@v2
18
14
with :
19
- repo-token : " ${{ secrets.GITHUB_TOKEN }}"
15
+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 6
6
release :
7
7
name : Publish Snapshot
8
8
runs-on : ubuntu-latest
9
- strategy :
10
- matrix :
11
- node-version : [18]
12
- pnpm-version : [7]
13
9
steps :
14
10
- uses : actions/checkout@v3
15
11
with :
16
12
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17
13
fetch-depth : 0
18
14
token : ${{ secrets.GITHUB_TOKEN }}
19
15
20
-
21
- with :
22
- version : ${{ matrix.pnpm-version }}
23
- - name : Set up Node ${{ matrix.node-version }}
16
+ - name : Set up pnpm
17
+
18
+ - name : Set up node@18
24
19
uses : actions/setup-node@v3
25
20
with :
26
21
cache : ' pnpm'
27
- node-version : ${{ matrix.node-version }}
22
+ node-version : 18
28
23
29
24
- name : Install Dependencies
30
25
run : pnpm i --ignore-scripts
Original file line number Diff line number Diff line change 202
202
"simple-git-hooks" : {
203
203
"pre-commit" : " pnpm format && pnpm lint:fix"
204
204
},
205
+ "packageManager" :
" [email protected] " ,
205
206
"pnpm" : {
206
207
"overrides" : {
207
208
"viem" : " workspace:*"
215
216
]
216
217
}
217
218
}
218
- }
219
+ }
You can’t perform that action at this time.
0 commit comments