8000 fix: use npm keys in actions · manchenkoff/nuxt-sanctum-precognition@418f18a · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 418f18a

Browse files
committed
fix: use npm keys in actions
1 parent 42c13ca commit 418f18a

File tree

3 files changed

+48
-18
lines changed

3 files changed

+48
-18
lines changed

.github/workflows/prerelease.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929

30-
- name: Enable corepack
31-
run: corepack enable
32-
3330
- name: Setup Node.js
3431
uses: actions/setup-node@v4
3532
with:
3633
node-version: ${{ env.node_version }}
3734

35+
- name: Enable corepack
36+
run: corepack enable
37+
38+
# Issue: https://github.com/cypress-io/github-action/issues/1355
39+
- name: Set alternate npm integrity keys
40+
run: |
41+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
42+
3843
- name: Install dependencies
3944
run: npx nypm@latest i
4045

@@ -54,15 +59,20 @@ jobs:
5459
with:
5560
fetch-depth: 0 # fetch all history for tags
5661

57-
- name: Enable corepack
58-
run: corepack enable
59-
6062
- name: Setup Node.js
6163
uses: actions/setup-node@v4
6264
with:
6365
node-version: ${{ env.node_version }}
6466
registry-url: ${{ env.NODE_REGISTRY }}
6567

68+
- name: Enable corepack
69+
run: corepack enable
70+
71+
# Issue: https://github.com/cypress-io/github-action/issues/1355
72+
- name: Set alternate npm integrity keys
73+
run: |
74+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
75+
6676
- name: Install dependencies
6777
run: npx nypm@latest i
6878

.github/workflows/release.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929

30-
- name: Enable corepack
31-
run: corepack enable
32-
3330
- name: Setup Node.js
3431
uses: actions/setup-node@v4
3532
with:
3633
node-version: ${{ env.node_version }}
3734

35+
- name: Enable corepack
36+
run: corepack enable
37+
38+
# Issue: https://github.com/cypress-io/github-action/issues/1355
39+
- name: Set alternate npm integrity keys
40+
run: |
41+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
42+
3843
- name: Install dependencies
3944
run: npx nypm@latest i
4045

@@ -54,15 +59,20 @@ jobs:
5459
with:
5560
fetch-depth: 0 # fetch all history for tags
5661

57-
- name: Enable corepack
58-
run: corepack enable
59-
6062
- name: Setup Node.js
6163
uses: actions/setup-node@v4
6264
with:
6365
node-version: ${{ env.node_version }}
6466
registry-url: ${{ env.NODE_REGISTRY }}
6567

68+
- name: Enable corepack
69+
run: corepack enable
70+
71+
# Issue: https://github.com/cypress-io/github-action/issues/1355
72+
- name: Set alternate npm integrity keys
73+
run: |
74+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
75+
6676
- name: Install dependencies
6777
run: npx nypm@latest i
6878

.github/workflows/validation.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,19 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v4
2323

24-
- name: Enable corepack
25-
run: corepack enable
26-
2724
- name: Setup Node.js
2825
uses: actions/setup-node@v4
2926
with:
3027
node-version: ${{ env.node_version }}
3128

29+
- name: Enable corepack
30+
run: corepack enable
31+
32+
# Issue: https://github.com/cypress-io/github-action/issues/1355
33+
- name: Set alternate npm integrity keys
34+
run: |
35+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
36+
3237
- name: Install dependencies
3338
run: npx nypm@latest i
3439

@@ -48,14 +53,19 @@ jobs:
4853
- name: Checkout
4954
uses: actions/checkout@v4
5055

51-
- name: Enable corepack
52-
run: corepack enable
53-
5456
- name: Setup Node.js
5557
uses: actions/setup-node@v4
5658
with:
5759
node-version: ${{ env.node_version }}
5860

61+
- name: Enable corepack
62+
run: corepack enable
63+
64+
# Issue: https://github.com/cypress-io/github-action/issues/1355
65+
- name: Set alternate npm integrity keys
66+
run: |
67+
echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')" >> $GITHUB_ENV
68+
5969
- name: Install dependencies
6070
run: npx nypm@latest i
6171

0 commit comments

Comments
 (0)
0