Created
February 29, 2020 14:09
-
-
Save kwiss/825d2d3e7271097611801862a8a3d5b2 to your computer and use it in GitHub Desktop.
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
.base_yarn_workspace_install: | |
stage: "Prepare" | |
image: node:13-alpine | |
interruptible: true | |
script: | |
- "[[ type jq ]] || apk add jq=~1" | |
- apk add --no-cache --virtual .gyp make python gcc postgresql-dev g++ | |
- "{ rm package.json; jq 'del(.dependencies) | del(.devDependencies)' > package.json; } < package.json" | |
- yarn config set cache-folder $CI_PROJECT_DIR/.yarn | |
- yarn --frozen-lockfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment