Skip to content

Commit

Permalink
Fix GHA build issue (due to runner Python update)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Nov 28, 2023
1 parent 25026c3 commit db2ad8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
check-latest: true
cache: 'npm'

# Due to https://github.com/nodejs/node-gyp/issues/2869, node-gyp fails
# in latest GH runners, due to Python 3.12 incompatibility:
- uses: actions/setup-python@v4
with:
python-version: '3.11'

- run: npm ci

- run: npm run build
Expand Down

0 comments on commit db2ad8d

Please sign in to comment.