Skip to content

Commit

Permalink
fix: fixed greenkeeper script
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 1, 2018
1 parent 52610cd commit d904f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
steps: &multi_steps
- checkout
- attach_workspace: {at: node_modules}
- run: .circleci/greenkeeper
- run: .circleci/setup_git
- run: yarn --frozen-lockfile
- run: yarn exec nps test.multi
Expand All @@ -21,7 +20,6 @@ jobs:
steps: &base_steps
- checkout
- attach_workspace: {at: node_modules}
- run: .circleci/greenkeeper
- run: .circleci/setup_git
- run: yarn --frozen-lockfile
- run: yarn exec nps test.base
Expand All @@ -31,7 +29,6 @@ jobs:
steps: &plugin_steps
- checkout
- attach_workspace: {at: node_modules}
- run: .circleci/greenkeeper
- run: .circleci/setup_git
- run: yarn --frozen-lockfile
- run: yarn exec nps test.plugin
Expand All @@ -41,7 +38,6 @@ jobs:
steps: &single_steps
- checkout
- attach_workspace: {at: node_modules}
- run: .circleci/greenkeeper
- run: .circleci/setup_git
- run: yarn --frozen-lockfile
- run: yarn exec nps test.single
Expand All @@ -53,7 +49,6 @@ jobs:
steps: &command_steps
- checkout
- attach_workspace: {at: node_modules}
- run: .circleci/greenkeeper
- run: .circleci/setup_git
- run: yarn --frozen-lockfile
- run: yarn exec nps test.command
Expand Down Expand Up @@ -88,7 +83,7 @@ jobs:
- v0-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v0-{{checksum ".circleci/config.yml"}}
- v0
- run: yarn global add greenkeeper-lockfile@1
- run: .circleci/greenkeeper
- run: yarn add -D nyc@11 @anycli/nyc-config@0 mocha-junit-reporter@1 @commitlint/cli@6 @commitlint/config-conventional@6
- persist_to_workspace: {root: node_modules, paths: ["*"]}

Expand Down
1 change: 1 addition & 0 deletions .circleci/greenkeeper
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -ex
PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH

if [[ "$CIRCLE_BRANCH" != greenkeeper/* ]]; then
yarn --frozen-lockfile
yarn check
exit 0
fi
Expand Down

0 comments on commit d904f25

Please sign in to comment.