Skip to content

Commit

Permalink
Brew install on mac, pip install on rest
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Aug 24, 2024
1 parent 40f7fa5 commit 5427c91
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
- name: Fix node-gyp and Python
run: |
if [[ "$RUNNER_OS" == "macOS" ]]; then
EXTRA_ARGS="--break-system-packages"
brew install python-setuptools python-packaging
else
EXTRA_ARGS=""
python3 -m pip install $EXTRA_ARGS packaging setuptools
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
Expand Down

0 comments on commit 5427c91

Please sign in to comment.