Add GitLab CI config

This commit is contained in:
Morgan Bazalgette 2018-03-31 17:03:44 +02:00 committed by Haelwenn (lanodan) Monnier
parent cb11b0f78e
commit 9532a62f22
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

17
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,17 @@
image: node:latest
before_script:
- 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -'
- 'echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list'
- apt-get update && apt-get install -y yarn
- yarn install
build:
script:
- npm run build
artifacts:
paths:
- public/packs
- public/assets
expire_in: 1 week