Skip to content

Commit ba6453d

Browse files
committed
fix corepack keys
1 parent c482c20 commit ba6453d

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
with:
3030
node-version: ${{ env.NODE_LTS_VERSION }}
3131
check-latest: true
32-
- run: corepack enable
32+
- name: Setup corepack
33+
run: |
34+
npm i -g corepack@0.31
35+
corepack enable
3336
3437
- uses: actions/checkout@v4
3538
with:
@@ -253,7 +256,10 @@ jobs:
253256
with:
254257
node-version: ${{ env.NODE_LTS_VERSION }}
255258
check-latest: true
256-
- run: corepack enable
259+
- name: Setup corepack
260+
run: |
261+
npm i -g corepack@0.31
262+
corepack enable
257263
258264
- name: Install Rust
259265
uses: ./.github/actions/setup-rust
@@ -362,7 +368,10 @@ jobs:
362368
with:
363369
node-version: ${{ env.NODE_LTS_VERSION }}
364370
check-latest: true
365-
- run: corepack enable
371+
- name: Setup corepack
372+
run: |
373+
npm i -g corepack@0.31
374+
corepack enable
366375
367376
- name: Install Rust
368377
uses: ./.github/actions/setup-rust
@@ -412,8 +421,10 @@ jobs:
412421
with:
413422
node-version: ${{ env.NODE_LTS_VERSION }}
414423
check-latest: true
415-
- run: corepack enable
416-
424+
- name: Setup corepack
425+
run: |
426+
npm i -g corepack@0.31
427+
corepack enable
417428
# https://github.com/actions/virtual-environments/issues/1187
418429
- name: tune linux network
419430
run: sudo ethtool -K eth0 tx off rx off
@@ -460,8 +471,10 @@ jobs:
460471
with:
461472
node-version: ${{ env.NODE_LTS_VERSION }}
462473
check-latest: true
463-
- run: corepack enable
464-
474+
- name: Setup corepack
475+
run: |
476+
npm i -g corepack@0.31
477+
corepack enable
465478
# https://github.com/actions/virtual-environments/issues/1187
466479
- name: tune linux network
467480
run: sudo ethtool -K eth0 tx off rx off

.github/workflows/trigger_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ jobs:
7171
- name: tune linux network
7272
run: sudo ethtool -K eth0 tx off rx off
7373

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
7579
7680
- id: get-store-path
7781
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy