Skip to content

Commit db2ad8d

Browse files
committed
Fix GHA build issue (due to runner Python update)
1 parent 25026c3 commit db2ad8d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
check-latest: true
2323
cache: 'npm'
2424

25+
# Due to https://github.com/nodejs/node-gyp/issues/2869, node-gyp fails
26+
# in latest GH runners, due to Python 3.12 incompatibility:
27+
- uses: actions/setup-python@v4
28+
with:
29+
python-version: '3.11'
30+
2531
- run: npm ci
2632

2733
- run: npm run build

0 commit comments

Comments
 (0)