Skip to content

chore(ci) test on Node.js v22 and not v16 #608

chore(ci) test on Node.js v22 and not v16

chore(ci) test on Node.js v22 and not v16 #608

Workflow file for this run

# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
name: visual-studio
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
visual-studio:
strategy:
fail-fast: false
max-parallel: 8
matrix:
include:
- os: windows-2019
msvs-verison: 2019
- os: windows-2022
msvs-version: 2022
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Dependencies
run: npm install
- name: Run Node tests
shell: pwsh
run: npm run test --python="${env:pythonLocation}\\python.exe" --msvs-version="${{ matrix.msvs-version }}"