-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
executable file
·53 lines (46 loc) · 988 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: 2
defaults: &defaults
docker:
- image: vuejs/ci
step_restore_cache: &restore_cache
restore_cache:
keys:
- v1-dependencies-{{ checksum "yarn.lock" }}-1
- v1-dependencies-
step_install_deps: &install_deps
run:
name: Install Dependencies
command: yarn --frozen-lockfile
step_save_cache: &save_cache
save_cache:
paths:
- node_modules
- packages/compiler-core/node_modules
- packages/compiler-sfc/node_modules
- packages/vue/node_modules
- ~/.cache/yarn
key: v1-dependencies-{{ checksum "yarn.lock" }}-1
jobs:
test:
<<: *defaults
steps:
- checkout
- *restore_cache
- *install_deps
- *save_cache
- run: yarn ls-lint
- run: yarn test --ci
test-dts:
<<: *defaults
steps:
- checkout
- *restore_cache
- *install_deps
- *save_cache
- run: yarn test-dts
workflows:
version: 2
ci:
jobs:
- test
- test-dts