Commit a98b360a authored by Guillaume Perréal's avatar Guillaume Perréal

Ajout de la config CI.

parent cf12ace8
stage:
- build
build:
image: node:10
tags: [docker]
variables:
NPM_CONFIG_CACHE: "$CI_PROJECT_DIR/.npm"
script:
- npm install
- npm run build
artifacts:
name: dist
expire_in: 2 years
paths:
- dist/
cache:
key: "$CI_COMMIT_REF_NAME-npm"
paths:
- "$NPM_CONFIG_CACHE"
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