Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f867d24

Browse files
committed
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.
1 parent be2baf3 commit f867d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: tests
1010
strategy:
1111
matrix:
12-
os: [ubuntu-18.04, macos-latest, windows-latest]
12+
os: [ubuntu-18.04, macos-latest, windows-2019]
1313
channel: [beta, nightly]
1414
fail-fast: false
1515
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)