Skip to content

Commit d1a7c56

Browse files
committed
fix: use yarn instead of npm
1 parent 7b11e53 commit d1a7c56

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

circle.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ machine:
22
timezone: UTC
33
node:
44
version: 7.7.1
5+
environment:
6+
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
7+
8+
dependencies:
9+
override:
10+
- yarn
11+
cache_directories:
12+
- ~/.cache/yarn
13+
514
deployment:
615
production:
716
branch: master
@@ -11,7 +20,12 @@ deployment:
1120
- ./node_modules/.bin/hexo clean
1221
- ./node_modules/.bin/hexo generate
1322
- ./node_modules/.bin/hexo deploy
23+
1424
general:
1525
branches:
1626
ignore:
1727
- gh-pages
28+
29+
test:
30+
override:
31+
- yarn test

0 commit comments

Comments
 (0)