Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(*): bump Yarn in Jenkins init-node script #16365

Merged
merged 1 commit into from
Dec 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/jenkins/init-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nvm install

# clean out and install yarn
rm -rf ~/.yarn
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.21.3
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have such values in one place, so we don't have to update them in several files each time. E.g. have a scripts/env.sh and import it in all places where we need them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't cover all of them as we can't import anything in package.json. But Jenkins/Travis versions could be shared, yes.

export PATH="$HOME/.yarn/bin:$PATH"

# Ensure that we have the local dependencies installed
Expand Down