Debug
This commit is contained in:
parent
0d8f1971f7
commit
a1c35a6c56
1 changed files with 14 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue