diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e24db1a..bb98688 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ variables: stages: - build + - migrate - test cache: @@ -25,9 +26,17 @@ install_dependencies: paths: - node_modules/ -testing_testing: - stage: test +migrate: + stage: migrate script: - ./node_modules/.bin/sequelize db:migrate + +seed: + stage: seed + script: - ./node_modules/.bin/sequelize db:seed:all + +testing: + stage: test + script: - yarn test --ci --collectCoverage=true