Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Commit

Permalink
Update yarn version on Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
snario committed Sep 10, 2019
1 parent 1451080 commit 2c38654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
- attach_workspace:
at: /home/circleci/project

- run: npm i -g [email protected] # because docker image uses 1.13.0

- run: yarn run patch-package

- run: "cd packages/cf-funding-protocol-contracts && yarn run ensure-build-artifacts-match-solidity-code"
Expand All @@ -55,7 +53,7 @@ jobs:
- <<: *save_code

- <<: *restore_dep
- run: npm i -g [email protected] # because docker image uses 1.13.0

- run:
name: "yarn --frozen-lockfile"
command: yarn --frozen-lockfile
Expand Down Expand Up @@ -109,8 +107,6 @@ jobs:
- attach_workspace:
at: /home/circleci/project

- run: npm i -g [email protected] # because docker image uses 1.13.0

- run: yarn lint

ensure-updated-lockfiles:
Expand All @@ -125,7 +121,7 @@ jobs:

- run: apt-get install -y jq # using this to mutate package.json

- run: npm i -g [email protected] # because docker image uses 1.13.0


- run:
name: Check root yarn.lock
Expand All @@ -141,8 +137,6 @@ jobs:
- attach_workspace:
at: /home/circleci/project

- run: npm i -g [email protected] # because docker image uses 1.13.0

- run: yarn --frozen-lockfile # symlink packages' node_modules

- run:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/images/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN apt-get install -y curl && \
curl -sL https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.15.3-1nodesource1_amd64.deb > nodejs-10.15.3.deb && \
dpkg -i nodejs-10.15.3.deb && \
rm /usr/local/bin/node && \
npm install -g yarn@1.12.3 && \
npm install -g yarn@1.17.3 && \
rm /usr/local/bin/yarn

0 comments on commit 2c38654

Please sign in to comment.