clone:
|
|
git:
|
|
image: plugins/git
|
|
depth: 50
|
|
tags: true
|
|
|
|
pipeline:
|
|
|
|
frontend:
|
|
image: node:8.1.2
|
|
pull: true
|
|
commands:
|
|
- node -v
|
|
- npm -v
|
|
- yarn --version
|
|
- yarn config set cache-folder .yarn-cache
|
|
- yarn install
|
|
- yarn run production
|