This commit is contained in:
dbroqua 2020-02-11 20:52:06 +01:00
parent 0d8f1971f7
commit a1c35a6c56

View file

@ -7,24 +7,12 @@ variables:
POSTGRES_PASSWORD: "postgres"
stages:
# - build
# - migrate
- test
- pages
cache:
paths:
- node_modules/
# install:
# stage: build
# script:
# - yarn install
# artifacts:
# paths:
# - node_modules/
# migrate:
# stage: migrate
# script:
# - ./node_modules/.bin/sequelize db:migrate
testing:
stage: test
@ -41,3 +29,16 @@ testing:
- reports/
reports:
junit: junit.xml
pages:
stage: deploy
dependencies:
- testing
script:
- mv coverage/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- develop