Skip to content

Commit

Permalink
fix: consolidate circle jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 2, 2018
1 parent 9f3c2f2 commit d72884d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/circle.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
keys:
- v0-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v0-yarn-{{checksum ".circleci/config.yml"}}
- run: .circleci/greenkeeper
- run: yarn add -D $DEPS
<%_ if (['single', 'multi'].includes(type)) { _%>
- run: ./bin/run -v
<%_ } _%>
Expand Down Expand Up @@ -57,9 +59,10 @@ jobs:
- add_ssh_keys
- checkout
- restore_cache: *restore_cache
- run: yarn add -D $DEPS
- run: yarn global add @anycli/semantic-release@1 semantic-release@12
- run: |
export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
yarn global add @anycli/semantic-release@1 semantic-release@12
semantic-release -e @anycli/semantic-release
- save_cache:
key: v0-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}
Expand Down

0 comments on commit d72884d

Please sign in to comment.