Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev(ci): fix macos-latest CI by using brew install python- instead of pip install #8030

Open
wants to merge 7 commits into
base: canary
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only use break system install on macos
corneliusroemer committed Aug 24, 2024
commit bd469f3347c2991ef6fc19921c98b1e6bdc92bb7
8 changes: 7 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Fix node-gyp and Python
run: pip install --break-system-packages packaging setuptools
run: |
if [[ "$RUNNER_OS" == "macOS" ]]; then
EXTRA_ARGS="--break-system-packages"
else
EXTRA_ARGS=""
fi
python3 -m pip install $EXTRA_ARGS packaging setuptools
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT