index.community/.gitlab-ci.yml

18 lines
284 B
YAML
Raw Normal View History

2019-07-13 18:49:53 +00:00
test-frontend:
image: node:lts-alpine
stage: test
before_script:
- cd frontend
stage: test
script:
- yarn install
- yarn lint
cache:
2019-07-13 18:51:53 +00:00
paths:
- frontend/node_modules/
- frontend/.yarn
2019-07-13 18:49:53 +00:00
except:
2019-07-13 19:04:52 +00:00
- master
only:
changes:
- frontend/*