-
Notifications
You must be signed in to change notification settings - Fork 262
/
appveyor.yml
34 lines (29 loc) · 924 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
image: # http://www.appveyor.com/docs/appveyor-yml
- Visual Studio 2022
environment:
matrix: # https://github.com/nodejs/release#release-schedule
- nodejs_version: 18
- nodejs_version: 20
- nodejs_version: 22
platform:
- x64
- x86
shallow_clone: true
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
- npm config get
- node --version
- npm --version
- node -e "console.log(process.arch);" # 'x64' or 'ia32'
# Python >= v3.12 requires node-gyp >= v10
- IF /I "%PLATFORM%" == "x64" set PATH=C:\Python311-x64;%PATH%
- IF /I "%PLATFORM%" == "x86" SET PATH=C:\python311;%PATH%
- npm config list
- npm ci
- npm run update-crosswalk # To support newer versions of Node.js
# - npm audit # TODO: Fix mapbox/node-pre-gyp#705 and enable this line
- npm test
build: off
test: off
deploy: off