commit: 754947add811394b0636f65ba5281196ab05b893
parent: 86f3bfc83552906a7eb5a50a712761374aac2dca
Author: Morgan Bazalgette <the@howl.moe>
Date: Sat, 31 Mar 2018 17:03:44 +0200
Add GitLab CI config
Diffstat:
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -0,0 +1,17 @@
+image: node:latest
+
+before_script:
+ - 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -'
+ - 'echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo 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
+