Skip to content

Commit a1dea0b

Browse files
committed
update circleci config
1 parent 6d14399 commit a1dea0b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.circleci/config.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ commands:
55
steps:
66
- checkout
77
- restore_cache:
8-
name: Restore npm Package Data Cache
8+
name: Restore Dependency Cache
99
keys:
1010
- v1-dependency-cache-{{ checksum "package-lock.json" }}-{{ .Environment.CIRCLE_JOB }}
1111
- v1-dependency-cache-
1212
- run:
13-
name: Installing Node packages
13+
name: Install Dependencies
1414
command: npm ci
1515
- save_cache:
16-
name: Cache npm Package Data
16+
name: Create Dependency Cache
1717
key: v1-dependency-cache-{{ checksum "package-lock.json" }}-{{ .Environment.CIRCLE_JOB }}
1818
paths:
1919
- ./node_modules
2020
- run:
21-
name: Linting Source
22-
command: npm run lint
21+
name: Lint Source
22+
command: npm run lint --if-present
2323
- run:
24-
name: Building Source
25-
command: npm run build
24+
name: Build Source
25+
command: npm run build --if-present
2626

2727
jobs:
2828
node-current:

0 commit comments

Comments
 (0)