Forked from devilleweppenaar/yarn_with_wercker_build.yml
Created
May 19, 2019 20:48
-
-
Save diegoazh/cf911f13bf08c24471c92fbe56ba4b0e to your computer and use it in GitHub Desktop.
yarn with wercker - build step
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
build: | |
steps: | |
- script: | |
name: install yarn | |
code: npm install -g yarn | |
- script: | |
name: report yarn version | |
code: yarn --version | |
- script: | |
name: set yarn cache | |
code: export YARN_CACHE=$WERCKER_CACHE_DIR/yarn | |
- script: | |
name: install dependencies | |
code: HOME=$YARN_CACHE yarn | |
- script: | |
name: test | |
code: yarn test:ci | |
- script: | |
name: coverage | |
code: yarn coverage | |
- script: | |
name: lint | |
code: yarn lint | |
- script: | |
name: build | |
code: yarn build | |
- script: | |
name: copy build output | |
code: cp -R build/ $WERCKER_OUTPUT_DIR | |
- script: | |
name: copy firebase config | |
code: cp firebase.json $WERCKER_OUTPUT_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment