File tree 23 files changed +49
-312
lines changed
23 files changed +49
-312
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ${{ matrix.system }}
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- - uses : pnpm/action-setup@v4
18
- with :
19
- version : 9
20
- - uses : actions/setup-node@v4
21
- with :
22
- node-version : 18
23
- cache : " pnpm"
17
+ - uses : ./.github/actions/setup-env
24
18
- name : Delete pnpm-lock.yaml
25
19
run : " rm pnpm-lock.yaml"
26
20
- name : Install
Original file line number Diff line number Diff line change 25
25
runs-on : ubuntu-latest
26
26
steps :
27
27
- uses : actions/checkout@v4
28
- - uses : pnpm/action-setup@v4
29
- with :
30
- version : 9
31
- - uses : actions/setup-node@v4
32
- with :
33
- node-version : 18
34
- cache : " pnpm"
28
+ - uses : ./.github/actions/setup-env
35
29
- name : Install
36
30
run : pnpm install --frozen-lockfile --prefer-offline
37
31
- name : Install Docs
Original file line number Diff line number Diff line change 20
20
uses : actions/checkout@v4
21
21
with :
22
22
ref : " refs/pull/${{ github.event.number }}/merge"
23
- - uses : pnpm/action-setup@v4
24
- with :
25
- version : 9
26
- - uses : actions/setup-node@v4
27
- with :
28
- node-version : 18
29
- cache : " pnpm"
23
+ - uses : ./.github/actions/setup-env
30
24
- name : Install
31
25
run : pnpm install --frozen-lockfile --prefer-offline
32
26
- name : Build
Original file line number Diff line number Diff line change 27
27
IS_WINDOWS : ${{ matrix.os == 'windows-latest' }}
28
28
steps :
29
29
- uses : actions/checkout@v4
30
- - uses : pnpm/action-setup@v4
31
- with :
32
- version : 9
33
- - uses : actions/setup-node@v4
34
- with :
35
- node-version : 18
30
+ - uses : ./.github/actions/setup-env
36
31
- name : Run fixture-projects script
37
32
run : |
38
33
cd e2e
Original file line number Diff line number Diff line change 31
31
runs-on : windows-latest
32
32
steps :
33
33
- uses : actions/checkout@v4
34
- - uses : pnpm/action-setup@v4
35
- with :
36
- version : 9
37
- - uses : actions/setup-node@v4
38
- with :
39
- node-version : 18
40
- cache : " pnpm"
34
+ - uses : ./.github/actions/setup-env
41
35
- name : Install
42
36
run : pnpm install --frozen-lockfile --prefer-offline
43
37
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
76
64
node : [18, 20]
77
65
steps :
78
66
- uses : actions/checkout@v4
79
- - uses : pnpm/action-setup@v4
80
- with :
81
- version : 9
82
- - uses : actions/setup-node@v4
67
+ - uses : ./.github/actions/setup-env
83
68
with :
84
69
node-version : ${{ matrix.node }}
85
- cache : " pnpm"
86
70
- name : Install
87
71
run : pnpm install --frozen-lockfile --prefer-offline
88
72
- name : Build
Original file line number Diff line number Diff line change 39
39
steps :
40
40
- uses : actions/checkout@v4
41
41
42
- - uses : pnpm/action-setup@v4
43
- with :
44
- version : 9
45
- - name : Install Node
46
- uses : actions/setup-node@v4
42
+ - uses : ./.github/actions/setup-env
47
43
with :
48
44
node-version : ${{ matrix.node }}
49
- cache : pnpm
50
45
51
46
- name : Install package
52
47
run : pnpm install --frozen-lockfile --prefer-offline
81
76
steps :
82
77
- uses : actions/checkout@v4
83
78
84
- - uses : pnpm/action-setup@v4
85
- with :
86
- version : 9
87
- - name : Install Node
88
- uses : actions/setup-node@v4
79
+ - uses : ./.github/actions/setup-env
89
80
with :
90
81
node-version : ${{ matrix.node }}
91
- cache : pnpm
92
82
93
83
- name : Install package
94
84
run : pnpm install --frozen-lockfile --prefer-offline
@@ -119,13 +109,9 @@ jobs:
119
109
node : [18, 20]
120
110
steps :
121
111
- uses : actions/checkout@v4
122
- - uses : pnpm/action-setup@v4
123
- with :
124
- version : 9
125
- - uses : actions/setup-node@v4
112
+ - uses : ./.github/actions/setup-env
126
113
with :
127
114
node-version : ${{ matrix.node }}
128
- cache : pnpm
129
115
- name : Install
130
116
run : pnpm install --frozen-lockfile --prefer-offline
131
117
- name : Install @types/node
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : " pnpm"
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 31
31
runs-on : windows-latest
32
32
steps :
33
33
- uses : actions/checkout@v4
34
- - uses : pnpm/action-setup@v4
35
- with :
36
- version : 9
37
- - uses : actions/setup-node@v4
38
- with :
39
- node-version : 18
40
- cache : " pnpm"
34
+ - uses : ./.github/actions/setup-env
41
35
- name : Install
42
36
run : pnpm install --frozen-lockfile --prefer-offline
43
37
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
76
64
node : [18, 20]
77
65
steps :
78
66
- uses : actions/checkout@v4
79
- - uses : pnpm/action-setup@v4
80
- with :
81
- version : 9
82
- - uses : actions/setup-node@v4
67
+ - uses : ./.github/actions/setup-env
83
68
with :
84
69
node-version : ${{ matrix.node }}
85
- cache : " pnpm"
86
70
- name : Install
87
71
run : pnpm install --frozen-lockfile --prefer-offline
88
72
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : " pnpm"
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
54
48
runs-on : macos-latest
55
49
steps :
56
50
- uses : actions/checkout@v4
57
- - uses : pnpm/action-setup@v4
58
- with :
59
- version : 9
60
- - uses : actions/setup-node@v4
61
- with :
62
- node-version : 18
63
- cache : " pnpm"
51
+ - uses : ./.github/actions/setup-env
64
52
- name : Install
65
53
run : pnpm install --frozen-lockfile --prefer-offline
66
54
- name : Build
78
66
node : [18, 20]
79
67
steps :
80
68
- uses : actions/checkout@v4
81
- - uses : pnpm/action-setup@v4
82
- with :
83
- version : 9
84
- - uses : actions/setup-node@v4
69
+ - uses : ./.github/actions/setup-env
85
70
with :
86
71
node-version : ${{ matrix.node }}
87
- cache : " pnpm"
88
72
- name : Install
89
73
run : pnpm install --frozen-lockfile --prefer-offline
90
74
- name : Build
Original file line number Diff line number Diff line change 22
22
node : [18, 20]
23
23
steps :
24
24
- uses : actions/checkout@v4
25
- - uses : pnpm/action-setup@v4
26
- with :
27
- version : 9
28
- - uses : actions/setup-node@v4
25
+ - uses : ./.github/actions/setup-env
29
26
with :
30
27
node-version : ${{ matrix.node }}
31
- cache : " pnpm"
32
28
- name : Install
33
29
run : pnpm install --frozen-lockfile --prefer-offline
34
30
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : " pnpm"
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 41
41
runs-on : windows-latest
42
42
steps :
43
43
- uses : actions/checkout@v4
44
- - uses : pnpm/action-setup@v4
45
- with :
46
- version : 9
47
- - uses : actions/setup-node@v4
48
- with :
49
- node-version : 18
50
- cache : " pnpm"
44
+ - uses : ./.github/actions/setup-env
51
45
- name : Install
52
46
run : pnpm install --frozen-lockfile --prefer-offline
53
47
- name : Build
60
54
runs-on : macos-latest
61
55
steps :
62
56
- uses : actions/checkout@v4
63
- - uses : pnpm/action-setup@v4
64
- with :
65
- version : 9
66
- - uses : actions/setup-node@v4
67
- with :
68
- node-version : 18
69
- cache : " pnpm"
57
+ - uses : ./.github/actions/setup-env
70
58
- name : Install
71
59
run : pnpm install --frozen-lockfile --prefer-offline
72
60
- name : Build
82
70
node : [18, 20]
83
71
steps :
84
72
- uses : actions/checkout@v4
85
- - uses : pnpm/action-setup@v4
86
- with :
87
- version : 9
88
- - uses : actions/setup-node@v4
73
+ - uses : ./.github/actions/setup-env
89
74
with :
90
75
node-version : ${{ matrix.node }}
91
- cache : " pnpm"
92
76
- name : Install
93
77
run : pnpm install --frozen-lockfile --prefer-offline
94
78
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : " pnpm"
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : " pnpm"
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : " pnpm"
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 36
36
node : [18, 20]
37
37
steps :
38
38
- uses : actions/checkout@v4
39
- - uses : pnpm/action-setup@v4
40
- with :
41
- version : 9
42
- - uses : actions/setup-node@v4
39
+ - uses : ./.github/actions/setup-env
43
40
with :
44
41
node-version : ${{ matrix.node }}
45
- cache : " pnpm"
46
42
- name : Install
47
43
run : pnpm install --frozen-lockfile --prefer-offline
48
44
- name : Build
Original file line number Diff line number Diff line change 33
33
runs-on : windows-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
- - uses : pnpm/action-setup@v4
37
- with :
38
- version : 9
39
- - uses : actions/setup-node@v4
40
- with :
41
- node-version : 18
42
- cache : pnpm
36
+ - uses : ./.github/actions/setup-env
43
37
- name : Install
44
38
run : pnpm install --frozen-lockfile --prefer-offline
45
39
- name : Build
52
46
runs-on : macos-latest
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : pnpm
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Build
74
62
node : [18, 20]
75
63
steps :
76
64
- uses : actions/checkout@v4
77
- - uses : pnpm/action-setup@v4
78
- with :
79
- version : 9
80
- - uses : actions/setup-node@v4
65
+ - uses : ./.github/actions/setup-env
81
66
with :
82
67
node-version : ${{ matrix.node }}
83
- cache : pnpm
84
68
- name : Install
85
69
run : pnpm install --frozen-lockfile --prefer-offline
86
70
- name : Build
Original file line number Diff line number Diff line change 25
25
runs-on : ubuntu-latest
26
26
steps :
27
27
- uses : actions/checkout@v4
28
- - uses : pnpm/action-setup@v4
29
- with :
30
- version : 9
31
- - uses : actions/setup-node@v4
32
- with :
33
- node-version : 18
34
- cache : " pnpm"
35
- cache-dependency-path : |
36
- pnpm-lock.yaml
37
- docs/pnpm-lock.yaml
28
+ - uses : ./.github/actions/setup-env
38
29
- name : Install
39
30
run : pnpm install --frozen-lockfile --prefer-offline
40
31
- name : Build
Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v4
20
- - uses : pnpm/action-setup@v4
21
- with :
22
- version : 9
23
- - uses : actions/setup-node@v4
24
- with :
25
- node-version : 18
26
- cache : " pnpm"
20
+ - uses : ./.github/actions/setup-env
27
21
- name : Install
28
22
run : pnpm install --frozen-lockfile --prefer-offline
29
23
- name : Build
52
46
working-directory : packages/hardhat-core
53
47
steps :
54
48
- uses : actions/checkout@v4
55
- - uses : pnpm/action-setup@v4
56
- with :
57
- version : 9
58
- - uses : actions/setup-node@v4
59
- with :
60
- node-version : 18
61
- cache : " pnpm"
49
+ - uses : ./.github/actions/setup-env
62
50
- name : Install
63
51
run : pnpm install --frozen-lockfile --prefer-offline
64
52
- name : Cache network requests
Original file line number Diff line number Diff line change 19
19
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
20
20
fetch-depth : 0
21
21
22
- - name : Setup pnpm
23
- uses : pnpm/action-setup@v4
24
- with :
25
- version : 9
26
-
27
- - name : Setup Node.js 18.x
28
- uses : actions/setup-node@v4
29
- with :
30
- node-version : 18.x
31
- cache : " pnpm"
22
+ - uses : ./.github/actions/setup-env
32
23
33
24
- name : Install Dependencies
34
25
run : pnpm install --frozen-lockfile --prefer-offline
Original file line number Diff line number Diff line change 22
22
runs-on : " ubuntu-latest"
23
23
steps :
24
24
- uses : actions/checkout@v4
25
- - uses : pnpm/action-setup@v4
26
- with :
27
- version : 9
28
- - uses : actions/setup-node@v4
29
- with :
30
- node-version : 18
31
- cache : " pnpm"
25
+ - uses : ./.github/actions/setup-env
32
26
- name : Install
33
27
run : pnpm install --frozen-lockfile --prefer-offline
34
28
- name : Add slow import
Original file line number Diff line number Diff line change 16
16
uses : actions/checkout@v4
17
17
with :
18
18
fetch-depth : 0
19
- - uses : pnpm/action-setup@v4
20
- with :
21
- version : 9
22
- - uses : actions/setup-node@v4
19
+ - uses : ./.github/actions/setup-env
23
20
with :
24
21
node-version : 22
25
- cache : " pnpm"
26
22
- name : Install
27
23
run : pnpm install --no-frozen-lockfile
28
24
- name : Changeset Check
48
44
uses : actions/checkout@v4
49
45
with :
50
46
fetch-depth : 0
51
- - uses : pnpm/action-setup@v4
52
- with :
53
- version : 9
54
- - uses : actions/setup-node@v4
47
+ - uses : ./.github/actions/setup-env
55
48
with :
56
49
node-version : 22
57
- cache : " pnpm"
58
50
- name : Install
59
51
run : pnpm install --no-frozen-lockfile
60
52
- name : Run full check (build, lint and test)
72
64
uses : actions/checkout@v4
73
65
with :
74
66
fetch-depth : 0
75
- - uses : pnpm/action-setup@v4
76
- with :
77
- version : 9
78
- - uses : actions/setup-node@v4
67
+ - uses : ./.github/actions/setup-env
79
68
with :
80
69
node-version : 22
81
- cache : " pnpm"
82
70
- name : Install
83
71
run : pnpm install --no-frozen-lockfile
84
72
- name : Apply and commit changesets
Original file line number Diff line number Diff line change 69
69
70
70
steps :
71
71
- uses : actions/checkout@v4
72
- - name : Install pnpm
73
- uses : pnpm/action-setup@v4
74
- with :
75
- version : 9
76
- - uses : actions/setup-node@v4
72
+ - uses : ./.github/actions/setup-env
77
73
with :
78
74
node-version : 22
79
- cache : " pnpm"
80
75
- name : Install dependencies
81
76
run : pnpm install --frozen-lockfile --prefer-offline
82
77
- name : Build
@@ -102,14 +97,9 @@ jobs:
102
97
103
98
steps :
104
99
- uses : actions/checkout@v4
105
- - name : Install pnpm
106
- uses : pnpm/action-setup@v4
107
- with :
108
- version : 9
109
- - uses : actions/setup-node@v4
100
+ - uses : ./.github/actions/setup-env
110
101
with :
111
102
node-version : ${{ matrix.node }}
112
- cache : " pnpm"
113
103
- name : Install dependencies
114
104
run : pnpm install --frozen-lockfile --prefer-offline
115
105
- name : Build
You can’t perform that action at this time.
0 commit comments