diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e14ae9f..1801772 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,12 @@ jobs: with: node-version: 14 architecture: ${{ matrix.arch }} + # Temporary fix for https://github.com/nodejs/node-gyp/issues/2869 + # TODO: instead bump node-gyp to >= 10.0.0 (drops Node.js < 16.14) + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install run: npm install --ignore-scripts - name: Prebuild diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 65968b1..7e3ed71 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -43,6 +43,12 @@ jobs: with: node-version: 14 architecture: ${{ matrix.arch }} + # Temporary fix for https://github.com/nodejs/node-gyp/issues/2869 + # TODO: instead bump node-gyp to >= 10.0.0 (drops Node.js < 16.14) + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install run: npm install --ignore-scripts - name: Prebuild diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26f5a40..a001810 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,12 @@ jobs: with: node-version: ${{ matrix.node }} architecture: ${{ matrix.arch }} + # Temporary fix for https://github.com/nodejs/node-gyp/issues/2869 + # TODO: instead bump node-gyp to >= 10.0.0 (drops Node.js < 16.14) + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install run: npm install - name: Test