Skip to content

Commit 56f0f55

Browse files
committed
Install corepack@latest to fix integrity key checks
Relates to: nodejs/corepack#612
1 parent 544fc0a commit 56f0f55

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.npmrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ engine-strict=true
33
# feature parity with npm
44
auto-install-peers=true
55

6-
# create a flat, non-symlinked node_modules structure
7-
# (as the project doesn't play nice with symlinks).
6+
# create a flat, non-symlinked node_modules structure
7+
# (as the project doesn't play nice with symlinks).
88
# see https://pnpm.io/feature-comparison for more info
99
shamefully-hoist=true
1010

azure-pipelines-main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,13 @@ jobs:
261261
inputs:
262262
version: $(NodeVersion)
263263

264+
- task: Bash@3
265+
displayName: Install Corepack
266+
inputs:
267+
workingDir: .
268+
targetType: inline
269+
script: npm i -g corepack@latest
270+
264271
- task: Bash@3
265272
displayName: corepack enable
266273
inputs:
@@ -331,6 +338,13 @@ jobs:
331338
inputs:
332339
version: $(NodeVersion)
333340

341+
- task: Bash@3
342+
displayName: Install Corepack
343+
inputs:
344+
workingDir: .
345+
targetType: inline
346+
script: npm i -g corepack@latest
347+
334348
- task: Bash@3
335349
displayName: corepack enable
336350
inputs:

0 commit comments

Comments
 (0)