@@ -30,19 +30,22 @@ jobs:
30
30
runs-on : windows-latest
31
31
steps :
32
32
- uses : actions/checkout@v2
33
+ - uses : pnpm/action-setup@v2
34
+ with :
35
+ version : 8
33
36
- uses : actions/setup-node@v2
34
37
with :
35
38
node-version : 16
36
- cache : yarn
39
+ cache : " pnpm "
37
40
- name : Install
38
- run : yarn --frozen-lockfile
41
+ run : pnpm install --frozen-lockfile --prefer-offline
39
42
- name : Build
40
- run : yarn build
43
+ run : pnpm build
41
44
- name : Run tests
42
45
env :
43
46
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI : true
44
47
FORCE_COLOR : 3
45
- run : yarn test:except-tracing
48
+ run : pnpm test:except-tracing
46
49
47
50
test_on_macos :
48
51
name : Test hardhat-core on MacOS with Node 16
@@ -51,19 +54,22 @@ jobs:
51
54
if : ${{ false }}
52
55
steps :
53
56
- uses : actions/checkout@v2
57
+ - uses : pnpm/action-setup@v2
58
+ with :
59
+ version : 8
54
60
- uses : actions/setup-node@v2
55
61
with :
56
62
node-version : 16
57
- cache : yarn
63
+ cache : " pnpm "
58
64
- name : Install
59
- run : yarn --frozen-lockfile
65
+ run : pnpm install --frozen-lockfile --prefer-offline
60
66
- name : Build
61
- run : yarn build
67
+ run : pnpm build
62
68
- name : Run tests
63
69
env :
64
70
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI : true
65
71
FORCE_COLOR : 3
66
- run : yarn test:except-tracing
72
+ run : pnpm test:except-tracing
67
73
68
74
test_on_linux :
69
75
name : Test hardhat-core on Ubuntu with Node ${{ matrix.node }}
@@ -73,19 +79,22 @@ jobs:
73
79
node : [16, 18, 20]
74
80
steps :
75
81
- uses : actions/checkout@v2
82
+ - uses : pnpm/action-setup@v2
83
+ with :
84
+ version : 8
76
85
- uses : actions/setup-node@v2
77
86
with :
78
87
node-version : ${{ matrix.node }}
79
- cache : yarn
88
+ cache : " pnpm "
80
89
- name : Install
81
- run : yarn --frozen-lockfile
90
+ run : pnpm install --frozen-lockfile --prefer-offline
82
91
- name : Build
83
- run : yarn build
92
+ run : pnpm build
84
93
- name : Run tests
85
94
env :
86
95
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI : true
87
96
FORCE_COLOR : 3
88
- run : yarn test:except-tracing
97
+ run : pnpm test:except-tracing
89
98
90
99
test_types_node :
91
100
name : Test different versions of @types/node
@@ -95,18 +104,21 @@ jobs:
95
104
node : [16, 18, 20]
96
105
steps :
97
106
- uses : actions/checkout@v2
107
+ - uses : pnpm/action-setup@v2
108
+ with :
109
+ version : 8
98
110
- uses : actions/setup-node@v2
99
111
with :
100
112
node-version : ${{ matrix.node }}
101
- cache : yarn
113
+ cache : " pnpm "
102
114
- name : Install
103
- run : yarn --frozen-lockfile
115
+ run : pnpm install --frozen-lockfile --prefer-offline
104
116
- name : Install @types/node
105
- run : yarn add --dev @types/node@${{ matrix.node }}
117
+ run : pnpm add --save -dev @types/node@${{ matrix.node }}
106
118
- name : Build
107
- run : yarn build
119
+ run : pnpm build
108
120
- name : Run tests
109
121
env :
110
122
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI : true
111
123
FORCE_COLOR : 3
112
- run : yarn test:except-tracing
124
+ run : pnpm test:except-tracing
0 commit comments