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:
5353 - name : Checkout
5454 uses : actions/checkout@v4
5555
56- - name : Enable corepack
57- run : corepack enable
58-
5956 - name : Setup Node.js
6057 uses : actions/setup-node@v4
6158 with :
6259 node-version : ${{ env.node_version }}
6360
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+
6469 - name : Install dependencies
6570 run : npx nypm@latest i
6671
Original file line number Diff line number Diff line change @@ -59,15 +59,20 @@ jobs:
5959 with :
6060 fetch-depth : 0 # fetch all history for tags
6161
62- - name : Enable corepack
63- run : corepack enable
64-
6562 - name : Setup Node.js
6663 uses : actions/setup-node@v4
6764 with :
6865 node-version : ${{ env.node_version }}
6966 registry-url : ${{ env.NODE_REGISTRY }}
7067
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+
7176 - name : Install dependencies
7277 run : npx nypm@latest i
7378
Original file line number Diff line number Diff line change @@ -59,15 +59,20 @@ jobs:
5959 with :
6060 fetch-depth : 0 # fetch all history for tags
6161
62- - name : Enable corepack
63- run : corepack enable
64-
6562 - name : Setup Node.js
6663 uses : actions/setup-node@v4
6764 with :
6865 node-version : ${{ env.node_version }}
6966 registry-url : ${{ env.NODE_REGISTRY }}
7067
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+
7176 - name : Install dependencies
7277 run : npx nypm@latest i
7378
You can’t perform that action at this time.
0 commit comments