From 46338ad5b4d1f1057b5e3427a004703fe5f5fd72 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Tue, 3 Mar 2026 16:53:32 -0800 Subject: [PATCH] Test on Windows in CI --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b827fca9..ea7272bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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