frontend/.gitlab-ci.yml

24 lines
291 B
YAML
Raw Normal View History

2020-03-07 09:54:42 +00:00
image: node:latest
stages:
- build
- test
cache:
paths:
- node_modules/
install_dependencies:
stage: build
script:
2020-03-07 11:47:43 +00:00
- cd smart-hut
2020-03-07 09:54:42 +00:00
- npm install
artifacts:
2020-03-07 11:42:57 +00:00
paths:
- node_modules/
2020-03-07 09:54:42 +00:00
testing_testing:
stage: test
2020-03-07 11:38:53 +00:00
script:
2020-03-07 11:47:43 +00:00
- cd smart-hut
2020-03-07 11:38:53 +00:00
- npm test