Skip to content

Commit fefe11f

Browse files
Remove Disable Corepack, use npx for pnpm
1 parent a3b2a32 commit fefe11f

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

eng/common/pipelines/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,13 @@ extends:
3232

3333
- template: /eng/common/pipelines/templates/steps/create-authenticated-npmrc.yml
3434

35-
- script: npm install -g pnpm # Pnpm manage-package-manager-versions will respect packageManager field
36-
displayName: Install pnpm
37-
38-
- script: corepack disable
39-
displayName: Disable Corepack
40-
41-
- script: pnpm install
35+
- script: npx pnpm install
4236
displayName: Install JavaScript Dependencies
4337

4438
- script: node $(Build.SourcesDirectory)/eng/common/scripts/resolve-target-branch.js
4539
displayName: Resolve target branch
4640

47-
- script: pnpm tsx ./eng/common/scripts/dispatch-area-triggers.ts --target-branch $(TARGET_BRANCH)
41+
- script: npx pnpm tsx ./eng/common/scripts/dispatch-area-triggers.ts --target-branch $(TARGET_BRANCH)
4842
displayName: "Analyze PR changes"
4943
name: InitStep
5044

0 commit comments

Comments
 (0)