Skip to content

Commit

Permalink
fix: install setup tools
Browse files Browse the repository at this point in the history
  • Loading branch information
JulissaDantes committed Jul 25, 2024
1 parent 1b598eb commit 7431c27
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 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 @@ -42,17 +42,13 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Python dependencies on Ubuntu
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y python3-distutils

- name: Install Python dependencies on macOS
if: runner.os == 'macos-latest'
run: |
brew install [email protected]
/opt/homebrew/bin/python3.9 -m venv venv
source venv/bin/activate
pip install distutils
pip install setuptools
- name: Install dependencies and build
run: pnpm install --frozen-lockfile
Expand All @@ -64,4 +60,4 @@ jobs:
run: pnpm run lint

- name: Test
run: pnpm run test:ci --force
run: pnpm run test:ci --force

0 comments on commit 7431c27

Please sign in to comment.