Skip to content

Commit 9537919

Browse files
Make npm upgrade non-fatal in CI setup for broken macOS runners
The macOS runner's pre-installed npm has a corrupted promise-retry module, causing `npm install -g npm@11` to fail. Since all CI jobs use yarn (not npm), this step is non-critical. Emit a warning annotation and continue instead of failing the job. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1e206d6 commit 9537919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212

1313
# TODO: Can be removed once node-version is 24 as this will be the minimum
1414
- name: Install npm 11
15-
run: npm install -g npm@11
15+
run: npm install -g npm@11 || echo "::warning::npm upgrade failed — not required for yarn-based CI"
1616
shell: bash
1717

1818
- name: Cache turbo build setup

0 commit comments

Comments
 (0)