From 5ff3ae9a06667bc8f8c91902dac09bf03347e8c4 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Sun, 7 Jan 2024 12:00:40 -0500 Subject: [PATCH 1/2] pin python so gyp runs --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdae9ab..178b3de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,9 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 https://github.com/actions/setup-python/releases/tag/v4.7.1 + with: + python-version: '3.11' - name: Install run: npm install - name: Test From 0ae28c7f92e2770c86844cdaef315c2ee73fd28e Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Sun, 7 Jan 2024 12:03:50 -0500 Subject: [PATCH 2/2] just lts for ci --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 178b3de..63f5152 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,8 +4,8 @@ jobs: test: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-2019] - node: [10, 12, 14, 16] + node-version: [lts/*] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} name: ${{ matrix.os }} / Node ${{ matrix.node }} steps: