Commit 2ac1d456 authored by Adam Procter's avatar Adam Procter 💩

Merge remote-tracking branch 'origin/ci5'

parents df06f4b5 493de448
Pipeline #65 passed with stages
in 4 minutes and 52 seconds
node_modules/.cache/*
/node_modules/.cache/*
node_modules/.cache/
*.swp
stages:
- install
- test
- build
- deploy
cache:
paths:
- node_modules/
- .yarn
install_dependencies:
stage: build
dependencies:
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/
production_server:
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