Created
October 25, 2017 14:47
-
-
Save hiroki-uchida/211049de32d49f9f48ccefd7cc103f18 to your computer and use it in GitHub Desktop.
Wercker で Ruby + Node.js + Yarn な環境を作る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- | |
# File: wercker.yml | |
# --- | |
box: ruby:2.4.2 | |
build: | |
steps: | |
- install-packages: | |
packages: nodejs npm | |
- script: | |
name: install yarn | |
code: | | |
ln -s /usr/bin/nodejs /usr/bin/node | |
npm install -g yarn | |
export YARN_CACHE=$WERCKER_CACHE_DIR/yarn | |
HOME=$YARN_CACHE yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment