set up CI

This commit is contained in:
Bowen Wang 2019-06-12 18:37:35 -07:00 committed by Vladimir Grichina
parent 64afd6d09f
commit b40420174a

21
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,21 @@
image: node:latest
stages:
- build
- test
cache:
paths:
- node_modules/
install_dependencies:
stage: build
script:
- npm install
artifacts:
paths:
- node_modules/
run_tests:
stage: test
script: npm run test:ci