From f867d24b9a1feca7cc9190e696ff3608f68f07a5 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sun, 17 Apr 2022 19:08:00 -0400 Subject: [PATCH] CI: Use 'windows-2019' image for Windows tests 'windows-latest' is currently 'windows-2022' with Visual Studio 2022. Old versions of node-gyp don't know how to find Visual Studio 2022, so the package build fails. Switch back to 'windows-2019' with Visual Studio 2019, which is supported by node-gyp 5.x, which apm still uses. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df3afbc826..7d30ce8063 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: name: tests strategy: matrix: - os: [ubuntu-18.04, macos-latest, windows-latest] + os: [ubuntu-18.04, macos-latest, windows-2019] channel: [beta, nightly] fail-fast: false runs-on: ${{ matrix.os }}