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"
|
POSTGRES_PASSWORD: "postgres"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
# - build
|
|
||||||
# - migrate
|
|
||||||
- test
|
- test
|
||||||
|
- pages
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
# install:
|
|
||||||
# stage: build
|
|
||||||
# script:
|
|
||||||
# - yarn install
|
|
||||||
# artifacts:
|
|
||||||
# paths:
|
|
||||||
# - node_modules/
|
|
||||||
# migrate:
|
|
||||||
# stage: migrate
|
|
||||||
# script:
|
|
||||||
# - ./node_modules/.bin/sequelize db:migrate
|
|
||||||
|
|
||||||
testing:
|
testing:
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -41,3 +29,16 @@ testing:
|
||||||
- reports/
|
- reports/
|
||||||
reports:
|
reports:
|
||||||
junit: junit.xml
|
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