Skip to content

Commit

Permalink
fix: use virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
JulissaDantes committed Jul 25, 2024
1 parent 4db0516 commit 1b598eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node: [20]
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macos-latest]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -47,12 +47,12 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y python3-distutils

- name: Install Python dependencies on macOS
if: runner.os == 'macOS'
if: runner.os == 'macos-latest'
run: |
brew install [email protected]
python3 -m ensurepip
python3 -m pip install --upgrade pip
python3 -m pip install distutils
/opt/homebrew/bin/python3.9 -m venv venv
source venv/bin/activate
pip install distutils
- name: Install dependencies and build
run: pnpm install --frozen-lockfile
Expand Down

0 comments on commit 1b598eb

Please sign in to comment.