Skip to content

Commit c4d2668

Browse files
committed
ci: link yarn in /usr/local/bin after upgrade it
1 parent b016e7e commit c4d2668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
- checkout
1212
- run: echo 'export PATH=${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin' >> $BASH_ENV
1313
- run: curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
14-
- run: source ~/.bashrc
14+
- run: sudo ln -sf ~/.yarn/bin/yarn /usr/local/bin/yarn
1515
- restore_cache:
1616
key: dependency-cache-{{ checksum "package.json" }}
1717
- run:
1818
name: yarn-with-greenkeeper
1919
command: |
20-
yarn global add greenkeeper-lockfile@1
20+
sudo yarn global add greenkeeper-lockfile@1
2121
yarn
2222
- save_cache:
2323
key: dependency-cache-{{ checksum "package.json" }}

0 commit comments

Comments
 (0)