Skip to content

Commit ff2c70a

Browse files
committed
[HASHES]: npm used in place of yarn
1 parent 9ba7cd5 commit ff2c70a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
command: |
4545
semantic-release -e @oclif/semantic-release
4646
- save_cache:
47-
key: v1-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}
47+
key: v1-npm-{{checksum ".circleci/config.yml"}}-{{checksum "package-lock.json"}}
4848
paths:
4949
- ~/cli/node_modules
5050
- ~/.npm

.circleci/greenkeeper

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
set -ex
44

5-
PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
5+
PATH=/usr/local/share/.config/npm/global/node_modules/.bin:$PATH
66

77
if [[ "$CIRCLE_BRANCH" != greenkeeper/* ]]; then
8-
yarn
9-
# yarn check
8+
npm install
109
exit 0
1110
fi
1211

@@ -17,9 +16,9 @@ if [[ ! -z "$GIT_EMAIL" ]] & [[ ! -z "$GIT_USERNAME" ]]; then
1716
fi
1817

1918
if [[ ! -x "$(command -v greenkeeper-lockfile-update)" ]]; then
20-
yarn global add greenkeeper-lockfile@1
19+
npm install -g greenkeeper-lockfile@1
2120
fi
2221

2322
greenkeeper-lockfile-update
24-
yarn
23+
npm install
2524
greenkeeper-lockfile-upload

0 commit comments

Comments
 (0)