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 bb9a2813ca
commit 9c781a1476
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

23
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,23 @@
image: alpine:latest
before_script:
- apk add yarn
- yarn global add node-gyp
- yarn install
cache:
paths:
- node_modules
test:
script:
- yarn run test:jest
build:
script:
- yarn run build
artifacts:
paths:
- public/packs
- public/assets
expire_in: 1 week