Skip to content

Commit 888c3fd

Browse files
authored
chore: replace yarn with npm (#406)
1 parent 9e565a7 commit 888c3fd

File tree

5 files changed

+34342
-10584
lines changed

5 files changed

+34342
-10584
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ references:
1414
restore_cache: &restore_cache
1515
restore_cache:
1616
keys:
17-
- deps-v4-{{ .Branch }}-{{ checksum "yarn.lock" }}
17+
- deps-v4-{{ .Branch }}-{{ checksum "package-lock.json" }}
1818
- deps-v4-{{ .Branch }}
1919
- deps-v4
2020

@@ -27,10 +27,10 @@ jobs:
2727

2828
- *restore_cache
2929

30-
- run: yarn
30+
- run: npm ci
3131

3232
- save_cache:
33-
key: deps-v4-{{ .Branch }}-{{ checksum "yarn.lock" }}
33+
key: deps-v4-{{ .Branch }}-{{ checksum "package-lock.json" }}
3434
paths:
3535
- node_modules
3636

@@ -44,7 +44,7 @@ jobs:
4444

4545
- run:
4646
name: Lint
47-
command: yarn lint
47+
command: npm run lint
4848

4949
flow:
5050
<<: *defaults
@@ -56,7 +56,7 @@ jobs:
5656

5757
- run:
5858
name: Flow
59-
command: yarn flow
59+
command: npm run flow
6060

6161
test:
6262
<<: *defaults
@@ -69,7 +69,7 @@ jobs:
6969

7070
- run:
7171
name: Test
72-
command: yarn test --coverage
72+
command: npm run test --coverage
7373

7474
- run:
7575
name: Codecov
@@ -85,10 +85,10 @@ jobs:
8585
command: mkdir -p ~/.ssh/ && ssh-keyscan github.com >> ~/.ssh/known_hosts
8686
- run:
8787
name: Build
88-
command: yarn build
88+
command: npm run build
8989
- run:
9090
name: Release
91-
command: yarn semantic-release
91+
command: npm run semantic-release
9292

9393
workflows:
9494
version: 2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/lib
55
/node_modules
66
npm-debug.log*
7-
/build
7+
/build
8+
.DS_Store

0 commit comments

Comments
 (0)