Skip to content

Commit 6c12bc3

Browse files
authored
ci: try upgrading corepack (#2816)
`corepack@latest` is `[email protected]` which fixes the issue. Once this version is baked into the operating system image we use we can remove this override. Fixes #2817
1 parent ff31585 commit 6c12bc3

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23+
# FIXME: https://github.com/cursorless-dev/cursorless/issues/2817
24+
- name: Upgrade Corepack
25+
run: npm install --global [email protected]
26+
2327
- name: Enable Corepack
2428
run: corepack enable
2529

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
with:
2828
python-version: 3.x
2929

30+
# FIXME: https://github.com/cursorless-dev/cursorless/issues/2817
31+
- name: Upgrade Corepack
32+
run: npm install --global [email protected]
33+
3034
- name: Enable Corepack
3135
run: corepack enable
3236

.github/workflows/test-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818

19+
# FIXME: https://github.com/cursorless-dev/cursorless/issues/2817
20+
- name: Upgrade Corepack
21+
run: npm install --global [email protected]
22+
1923
- name: Enable Corepack
2024
run: corepack enable
2125

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v4
3939

40+
# FIXME: https://github.com/cursorless-dev/cursorless/issues/2817
41+
- name: Upgrade Corepack
42+
run: npm install --global --force [email protected]
43+
4044
- name: Enable Corepack
4145
run: corepack enable
4246

0 commit comments

Comments
 (0)