Skip to content

Commit 18afb2c

Browse files
committed
Use yarn in CI
1 parent 5d93f1d commit 18afb2c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ jobs:
66
steps:
77
- checkout
88
- restore_cache:
9-
key: dependency-cache-{{ checksum "package.json" }}
9+
key: dependency-cache-{{ checksum "yarn.lock" }}
1010
- run:
1111
name: Install dependencies
12-
command: npm install
12+
command: yarn
1313
- save_cache:
14-
key: dependency-cache-{{ checksum "package.json" }}
14+
key: dependency-cache-{{ checksum "yarn.lock" }}
1515
paths:
1616
- node_modules
1717
- run:
1818
name: Compile
19-
command: npm run compile
19+
command: yarn compile
2020
- run:
2121
name: Lint
22-
command: npm run lint
22+
command: yarn lint
2323
- run:
2424
name: Test with Coverage
25-
command: npm run coverage
25+
command: yarn coverage
2626
- run:
2727
name: Report code coverage
28-
command: 'npm run report-coverage'
28+
command: yarn report-coverage

0 commit comments

Comments
 (0)