Skip to content

Commit

Permalink
Cherry pick: [code-infra] Run corepack enable on all CI jobs (#42331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored and DiegoAndai committed Jun 26, 2024
1 parent da2fe91 commit faeadb5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ commands:
node scripts/useReactVersion.mjs
# log a patch for maintainers who want to check out this change
git --no-pager diff HEAD
- when:
condition: << parameters.browsers >>
steps:
Expand All @@ -93,6 +94,13 @@ commands:
name: Restore playwright cache
keys:
- v6-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }}
- when:
condition:
not: << parameters.browsers >>
steps:
# See https://stackoverflow.com/a/73411601
- run: corepack enable --install-directory ~/bin

- run:
name: View install environment
command: |
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@
"webpack-cli": "^5.1.4",
"yargs": "^17.7.2"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"engines": {
"pnpm": "8.15.8"
},
"resolutions": {
"@babel/core": "^7.23.9",
"@babel/code-frame": "^7.23.5",
Expand Down

0 comments on commit faeadb5

Please sign in to comment.