diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index a24e9da..959a832 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -8,6 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + # Workaround for https://github.com/nodejs/node-gyp/issues/2219#issuecomment-1359162118 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" - name: Install Node uses: actions/setup-node@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d83e497..79e8fa1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + # Workaround for https://github.com/nodejs/node-gyp/issues/2219#issuecomment-1359162118 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" - name: Install Node uses: actions/setup-node@v2 with: