From 2ac7a0f81f0731d83068b2872c4a8fee39263a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 15 Oct 2024 14:42:26 +0800 Subject: [PATCH] Fix installation on CI --- .github/workflows/generate.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 8 insertions(+) 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: