Skip to content

Commit 9d84968

Browse files
committed
add circle config
1 parent b95502a commit 9d84968

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.circleci/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
version: 2.1
2+
orbs:
3+
win: circleci/[email protected]
4+
jobs:
5+
linux:
6+
working_directory: ~/repo
7+
docker:
8+
- image: circleci/node:latest
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
keys:
13+
- v1-dependencies-{{ checksum "package.json" }}
14+
- v1-dependencies-
15+
- run: npm install
16+
- save_cache:
17+
paths:
18+
- node_modules
19+
key: v1-dependencies-{{ checksum "package.json" }}
20+
- run: npm test
21+
windows:
22+
executor: win/vs2019
23+
working_directory: ~/repo
24+
steps:
25+
- checkout
26+
- restore_cache:
27+
keys:
28+
- v1-dependencies-{{ checksum "package.json" }}
29+
- v1-dependencies-
30+
- run: npm install
31+
- save_cache:
32+
paths:
33+
- node_modules
34+
key: v1-dependencies-{{ checksum "package.json" }}
35+
- run: npm test
36+
workflows:
37+
version: 2
38+
build:
39+
jobs:
40+
- linux
41+
- windows

0 commit comments

Comments
 (0)