Ajout .gitlab-ci.yml

This commit is contained in:
wpetit 2020-03-09 14:58:40 +01:00
parent e5c5d9c8d2
commit dbca54429b

25
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,25 @@
image: node:lts
cache:
paths:
- frontend/node_modules
before_script:
- cd frontend && npm install
- cd -
stages:
- lint
- test
FrontendLint:
stage: lint
script:
- cd frontend && npm run lint
allow_failure: true
FrontendTest:
stage: test
script:
- ls -lah
- cd frontend && npm test