File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,24 @@ commands:
5
5
steps :
6
6
- checkout
7
7
- restore_cache :
8
- name : Restore npm Package Data Cache
8
+ name : Restore Dependency Cache
9
9
keys :
10
10
- v1-dependency-cache-{{ checksum "package-lock.json" }}-{{ .Environment.CIRCLE_JOB }}
11
11
- v1-dependency-cache-
12
12
- run :
13
- name : Installing Node packages
13
+ name : Install Dependencies
14
14
command : npm ci
15
15
- save_cache :
16
- name : Cache npm Package Data
16
+ name : Create Dependency Cache
17
17
key : v1-dependency-cache-{{ checksum "package-lock.json" }}-{{ .Environment.CIRCLE_JOB }}
18
18
paths :
19
19
- ./node_modules
20
20
- run :
21
- name : Linting Source
22
- command : npm run lint
21
+ name : Lint Source
22
+ command : npm run lint --if-present
23
23
- run :
24
- name : Building Source
25
- command : npm run build
24
+ name : Build Source
25
+ command : npm run build --if-present
26
26
27
27
jobs :
28
28
node-current :
You can’t perform that action at this time.
0 commit comments