Skip to content

Commit 0c7db31

Browse files
committed
Test on Windows
1 parent 617fd11 commit 0c7db31

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.circleci/config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
version: 2.1
44

5+
orbs:
6+
win: circleci/[email protected]
7+
node: circleci/[email protected]
8+
59
executors:
610
node18:
711
docker:
@@ -52,6 +56,22 @@ jobs:
5256
- run:
5357
name: Run tests
5458
command: npm test
59+
test_win:
60+
executor:
61+
name: win/default
62+
shell: bash.exe
63+
steps:
64+
- checkout
65+
- node/install
66+
- run:
67+
name: Report Node and NPM versions
68+
command: echo "Using Node $(node --version) and NPM $(npm --version)"
69+
- run:
70+
name: Install dependencies
71+
command: npm install
72+
- run:
73+
name: Run tests
74+
command: npm test
5575

5676
workflows:
5777
version: 2
@@ -68,6 +88,7 @@ workflows:
6888
- node14_7
6989
- node12_latest
7090
- node12_17 # first with dynamic import() of commonjs modules
91+
- test_win
7192
cron:
7293
<<: *push_workflow
7394
triggers:

0 commit comments

Comments
 (0)