Ajout .gitlab-ci.yml
This commit is contained in:
parent
e5c5d9c8d2
commit
dbca54429b
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user