Hopefully this will do it
This commit is contained in:
@@ -1,25 +1,9 @@
|
|||||||
stages:
|
stages:
|
||||||
- dependencies
|
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
.docker_template:
|
|
||||||
image: node:fermium-buster
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
node_modules:
|
|
||||||
extends: .docker_template
|
|
||||||
stage: dependencies
|
|
||||||
script: npm ci
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- node_modules
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: node:fermium-buster
|
image: node:fermium-buster
|
||||||
tags:
|
|
||||||
- docker-build
|
|
||||||
stage: build
|
stage: build
|
||||||
script: npm run build
|
script: npm run build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
Reference in New Issue
Block a user