Add .gitlab-ci.yml
This commit is contained in:
parent
25a36cd170
commit
97338c6897
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
test-frontend:
|
||||
image: node:lts-alpine
|
||||
stage: test
|
||||
before_script:
|
||||
- cd frontend
|
||||
stage: test
|
||||
script:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
cache:
|
||||
- frontend/node_modules/
|
||||
- frontend/.yarn
|
||||
except:
|
||||
- master
|
Loading…
Reference in a new issue