File tree 2 files changed +25
-8
lines changed
2 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
node-version : ${{ env.NODE_LTS_VERSION }}
31
31
check-latest : true
32
- - run : corepack enable
32
+ - name : Setup corepack
33
+ run : |
34
+ npm i -g corepack@0.31
35
+ corepack enable
33
36
34
37
- uses : actions/checkout@v4
35
38
with :
@@ -253,7 +256,10 @@ jobs:
253
256
with :
254
257
node-version : ${{ env.NODE_LTS_VERSION }}
255
258
check-latest : true
256
- - run : corepack enable
259
+ - name : Setup corepack
260
+ run : |
261
+ npm i -g corepack@0.31
262
+ corepack enable
257
263
258
264
- name : Install Rust
259
265
uses : ./.github/actions/setup-rust
@@ -362,7 +368,10 @@ jobs:
362
368
with :
363
369
node-version : ${{ env.NODE_LTS_VERSION }}
364
370
check-latest : true
365
- - run : corepack enable
371
+ - name : Setup corepack
372
+ run : |
373
+ npm i -g corepack@0.31
374
+ corepack enable
366
375
367
376
- name : Install Rust
368
377
uses : ./.github/actions/setup-rust
@@ -412,8 +421,10 @@ jobs:
412
421
with :
413
422
node-version : ${{ env.NODE_LTS_VERSION }}
414
423
check-latest : true
415
- - run : corepack enable
416
-
424
+ - name : Setup corepack
425
+ run : |
426
+ npm i -g corepack@0.31
427
+ corepack enable
417
428
# https://github.com/actions/virtual-environments/issues/1187
418
429
- name : tune linux network
419
430
run : sudo ethtool -K eth0 tx off rx off
@@ -460,8 +471,10 @@ jobs:
460
471
with :
461
472
node-version : ${{ env.NODE_LTS_VERSION }}
462
473
check-latest : true
463
- - run : corepack enable
464
-
474
+ - name : Setup corepack
475
+ run : |
476
+ npm i -g corepack@0.31
477
+ corepack enable
465
478
# https://github.com/actions/virtual-environments/issues/1187
466
479
- name : tune linux network
467
480
run : sudo ethtool -K eth0 tx off rx off
Original file line number Diff line number Diff line change 71
71
- name : tune linux network
72
72
run : sudo ethtool -K eth0 tx off rx off
73
73
74
- - run : corepack enable && pnpm --version
74
+ - name : Setup corepack
75
+ run : |
76
+ npm i -g corepack@0.31
77
+ corepack enable
78
+ pnpm --version
75
79
76
80
- id : get-store-path
77
81
run : echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments