Skip to content

Commit

Permalink
[code-infra] Run corepack enable on all CI jobs (mui#42331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored May 22, 2024
1 parent cf0773b commit 55e97e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
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
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@
"yargs": "^17.7.2"
},
"packageManager": "[email protected]",
"engines": {
"pnpm": "8.15.8"
},
"resolutions": {
"@babel/core": "^7.24.5",
"@babel/code-frame": "^7.24.2",
Expand Down

0 comments on commit 55e97e2

Please sign in to comment.