Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppVeyor: Test on modern versions of Node.js #85

Open
wants to merge 5 commits into
base: latest
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
# http://www.appveyor.com/docs/appveyor-yml

image:
- Visual Studio 2022

# Test against these versions of Node.js.
environment:
# Test against these versions of Node.js and io.js
matrix:
# node.js
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "14"
- nodejs_version: "16"
- nodejs_version: "18"
- nodejs_version: "20"
- nodejs_version: "22"

platform:
- x86
- x64

matrix: # Node.js v22 is not yet installed on AppVeyor's Windows image for Visual Studio 2022
allow_failures:
- nodejs_version: 22

# Install scripts. (runs after repo cloning)
install:
- python -V
- set PYTHON=python
- ps: Install-Product node $env:nodejs_version $env:platform
- node -p process.arch
- node -p process.version
- python -m pip install setuptools # For node-gyp on Python >= 3.12
- npm install --build-from-source

# Post-install test scripts.
Expand Down