Skip to content

Commit f6b0021

Browse files
authored
ci: trial testing on windows (#958)
* ci: trial testing on windows * ci: run subset on secondary environments
1 parent 191bb87 commit f6b0021

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

Diff for: .circleci/config.yml

+23-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
win: circleci/[email protected]
5+
36
commands:
47
update-yarn:
58
steps:
@@ -42,7 +45,7 @@ commands:
4245
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }}
4346
paths:
4447
- node_modules
45-
run-node:
48+
run-all:
4649
steps:
4750
- checkout
4851
- restore_cache:
@@ -55,26 +58,42 @@ commands:
5558
- lint
5659
- deps
5760
- test
61+
run-tests:
62+
steps:
63+
- checkout
64+
- restore_cache:
65+
keys:
66+
- v1-dependencies-{{ checksum "yarn.lock" }}
67+
- update-yarn
68+
- install
69+
- save-cache
70+
- build
71+
- test
5872
jobs:
5973
v8:
6074
docker:
6175
- image: node:8
6276
steps:
63-
- run-node
77+
- run-tests
6478
v10:
6579
docker:
6680
- image: node:10
6781
steps:
68-
- run-node
82+
- run-tests
6983
v12:
7084
docker:
7185
- image: node:12
7286
steps:
73-
- run-node
87+
- run-all
88+
windows-v12:
89+
executor: win/default
90+
steps:
91+
- run-tests
7492

7593
workflows:
7694
node:
7795
jobs:
7896
- v8
7997
- v10
8098
- v12
99+
- windows-v12

0 commit comments

Comments
 (0)