24 lines
No EOL
291 B
YAML
24 lines
No EOL
291 B
YAML
image: node:latest
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/
|
|
|
|
install_dependencies:
|
|
stage: build
|
|
script:
|
|
- cd smart-hut
|
|
- npm install
|
|
artifacts:
|
|
paths:
|
|
- node_modules/
|
|
|
|
testing_testing:
|
|
stage: test
|
|
script:
|
|
- cd smart-hut
|
|
- npm test |