From d6d6981efb3258e7de2f310c9bc1182f5842579d Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Sun, 7 Jan 2024 12:09:26 -0500 Subject: [PATCH] pin python so gyp runs (#76) * pin python so gyp runs * just lts for ci --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdae9ab..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: @@ -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