Test on Windows in CI

This commit is contained in:
Steve Gravrock
2026-03-03 16:53:32 -08:00
parent fc2de634ab
commit 46338ad5b4

View File

@@ -3,6 +3,9 @@
version: 2.1
orbs:
win: circleci/windows@5.0.0
executors:
node24:
docker:
@@ -51,6 +54,28 @@ jobs:
name: Run tests
command: npm test
test_win:
executor:
name: win/default
shell: bash.exe
steps:
- checkout
- run:
name: Install Node.js
command: nvm install 20.0.0 && nvm use 20.0.0
- run:
name: Report Node and NPM versions
command: echo "Using Node $(node --version) and NPM $(npm --version)"
- run:
name: Install dependencies
command: npm install
- run:
name: Build
command: npm run build
- run:
name: Run tests
command: npm test
test_parallel: &test_parallel
parameters:
executor:
@@ -145,3 +170,4 @@ workflows:
filters:
branches:
ignore: /pull\/.*/ # Don't run on pull requests.
- test_win