File tree Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,19 @@ jobs:
53
53
- name : Checkout
54
54
uses : actions/checkout@v4
55
55
56
- - name : Enable corepack
57
- run : corepack enable
58
-
59
56
- name : Setup Node.js
60
57
uses : actions/setup-node@v4
61
58
with :
62
59
node-version : ${{ env.node_version }}
63
60
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
+
64
69
- name : Install dependencies
65
70
run : npx nypm@latest i
66
71
Original file line number Diff line number Diff line change @@ -59,15 +59,20 @@ jobs:
59
59
with :
60
60
fetch-depth : 0 # fetch all history for tags
61
61
62
- - name : Enable corepack
63
- run : corepack enable
64
-
65
62
- name : Setup Node.js
66
63
uses : actions/setup-node@v4
67
64
with :
68
65
node-version : ${{ env.node_version }}
69
66
registry-url : ${{ env.NODE_REGISTRY }}
70
67
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
+
71
76
- name : Install dependencies
72
77
run : npx nypm@latest i
73
78
Original file line number Diff line number Diff line change @@ -59,15 +59,20 @@ jobs:
59
59
with :
60
60
fetch-depth : 0 # fetch all history for tags
61
61
62
- - name : Enable corepack
63
- run : corepack enable
64
-
65
62
- name : Setup Node.js
66
63
uses : actions/setup-node@v4
67
64
with :
68
65
node-version : ${{ env.node_version }}
69
66
registry-url : ${{ env.NODE_REGISTRY }}
70
67
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
+
71
76
- name : Install dependencies
72
77
run : npx nypm@latest i
73
78
You can’t perform that action at this time.
0 commit comments