@@ -19,28 +19,35 @@ jobs:
1919
2020 steps :
2121 - uses : actions/checkout@v4
22+ - uses : pnpm/action-setup@v4
23+ with :
24+ version : 9
2225 - uses : actions/setup-node@v4
2326 with :
2427 node-version : 18
28+ cache : pnpm
2529
26- - run : yarn install
27- - run : yarn lint
30+ - run : pnpm install --frozen-lockfile
31+ - run : pnpm lint
2832 test :
2933 name : ' Tests'
3034 runs-on : ubuntu-latest
3135 timeout-minutes : 10
3236
3337 steps :
3438 - uses : actions/checkout@v4
39+ - uses : pnpm/action-setup@v4
40+ with :
41+ version : 9
3542 - name : Install Node
3643 uses : actions/setup-node@v4
3744 with :
3845 node-version : 18
39- cache : yarn
46+ cache : pnpm
4047 - name : Install Dependencies
41- run : yarn install --frozen-lockfile
48+ run : pnpm install --frozen-lockfile
4249 - name : Run Tests
43- run : yarn node-test-with-coverage
50+ run : pnpm node-test-with-coverage
4451 - uses : codecov/codecov-action@v5
4552 with :
4653 fail_ci_if_error : true
@@ -53,14 +60,17 @@ jobs:
5360
5461 steps :
5562 - uses : actions/checkout@v4
63+ - uses : pnpm/action-setup@v4
64+ with :
65+ version : 9
5666 - uses : actions/setup-node@v4
5767 with :
5868 node-version : 18
59- cache : yarn
69+ cache : pnpm
6070 - name : Install Dependencies
61- run : yarn install --no-lockfile
71+ run : pnpm install --no-lockfile
6272 - name : Run Tests
63- run : yarn node-test
73+ run : pnpm node-test
6474
6575 all-commands-smoke-tests :
6676 name : Tests (commands smoke test)
@@ -137,12 +147,16 @@ jobs:
137147
138148 steps :
139149 - uses : actions/checkout@v4
150+ - uses : pnpm/action-setup@v4
151+ with :
152+ version : 9
140153 - uses : actions/setup-node@v4
141154 with :
142155 node-version : 18
156+ cache : pnpm
143157
144158 - name : install deps
145- run : yarn install
159+ run : pnpm install --frozen-lockfile
146160 - name : install smoke-test-app deps
147161 # using `npm` to install in the smoke-test-app so that `file:` will be treated
148162 # as a symlink (npm handles `file:../` as symlink, and `yarn` treats it
@@ -168,12 +182,16 @@ jobs:
168182
169183 steps :
170184 - uses : actions/checkout@v4
185+ - uses : pnpm/action-setup@v4
186+ with :
187+ version : 9
171188 - uses : actions/setup-node@v4
172189 with :
173190 node-version : ${{ matrix.node }}
191+ cache : pnpm
174192
175193 - name : install deps
176- run : yarn install
194+ run : pnpm install --frozen-lockfile
177195 - name : install smoke-test-app deps
178196 run : npm install
179197 working-directory : smoke-test-app
@@ -196,12 +214,16 @@ jobs:
196214
197215 steps :
198216 - uses : actions/checkout@v4
217+ - uses : pnpm/action-setup@v4
218+ with :
219+ version : 9
199220 - uses : actions/setup-node@v4
200221 with :
201222 node-version : ${{ matrix.node }}
223+ cache : pnpm
202224
203225 - name : install deps
204- run : yarn install
226+ run : pnpm install --frozen-lockfile
205227 - name : install smoke-test-app deps
206228 run : yarn install
207229 working-directory : smoke-test-app
@@ -219,12 +241,16 @@ jobs:
219241
220242 steps :
221243 - uses : actions/checkout@v4
244+ - uses : pnpm/action-setup@v4
245+ with :
246+ version : 9
222247 - uses : actions/setup-node@v4
223248 with :
224249 node-version : 18
250+ cache : pnpm
225251
226252 - name : install deps
227- run : yarn install
253+ run : pnpm install --frozen-lockfile
228254 - name : install smoke-test-app deps
229255 run : npm install
230256 working-directory : smoke-test-app
0 commit comments