Created
September 11, 2017 06:51
-
-
Save satchinjoshi/a5dfdd16c62654d46c0c61d83f26f577 to your computer and use it in GitHub Desktop.
npm-wercker.yml
This file contains hidden or 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: | |
| box: satchinjoshi/node-alpine:8-alpine | |
| steps: | |
| - script: | |
| name: set yarn cache | |
| code: yarn config set cache-folder $WERCKER_CACHE_DIR/yarn | |
| - script: | |
| name: install packages | |
| code: yarn | |
| - script: | |
| name: build assets | |
| code: npm run prod | |
| - script: | |
| name: remove unwanted dir | |
| code: | | |
| rm -rf public/pre | |
| rm -rf node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment