Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Flesh out pipeline some
· 1d2ebd60
Mathew Parker
authored
Aug 13, 2018
1d2ebd60
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1d2ebd60
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