Commit 1d2ebd60 authored by Mathew Parker's avatar Mathew Parker

Flesh out pipeline some

parent df06f4b5
Pipeline #63 passed with stages
in 4 minutes and 3 seconds
stages:
- install
- test
- build
- deploy
cache:
paths:
......@@ -7,17 +10,39 @@ cache:
- .yarn
install_dependencies:
stage: build
stage: install
script:
- echo "Installing dependencies"
- yarn install
artifacts:
paths:
- node_modules/
lint:
stage: build
stage: test
script:
- echo "Running eslint"
- yarn run lint
artifacts:
paths:
- node_modules/
build:
stage: build
script:
- echo "Building minified production app"
- yarn run build
artifacts:
paths:
- node_modules/
deploy_prod:
stage: deploy
script:
- echo "Deploying to production server"
environment:
name: production
url: http://nn.adamprocter.co.uk
when: manual
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment