Skip to content

Commit 55e97e2

Browse files
authored
[code-infra] Run corepack enable on all CI jobs (#42331)
1 parent cf0773b commit 55e97e2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ commands:
7575
node scripts/useReactVersion.mjs
7676
# log a patch for maintainers who want to check out this change
7777
git --no-pager diff HEAD
78+
7879
- when:
7980
condition: << parameters.browsers >>
8081
steps:
@@ -93,6 +94,13 @@ commands:
9394
name: Restore playwright cache
9495
keys:
9596
- v6-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }}
97+
- when:
98+
condition:
99+
not: << parameters.browsers >>
100+
steps:
101+
# See https://stackoverflow.com/a/73411601
102+
- run: corepack enable --install-directory ~/bin
103+
96104
- run:
97105
name: View install environment
98106
command: |

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
"yargs": "^17.7.2"
185185
},
186186
"packageManager": "pnpm@8.15.8",
187+
"engines": {
188+
"pnpm": "8.15.8"
189+
},
187190
"resolutions": {
188191
"@babel/core": "^7.24.5",
189192
"@babel/code-frame": "^7.24.2",

0 commit comments

Comments
 (0)