2020-06-12 19:17:39 +02:00
|
|
|
# image: weboaks/node-karma-protractor-chrome
|
2021-11-22 12:30:01 +01:00
|
|
|
image: node:12.22.5
|
2020-04-16 12:34:36 +02:00
|
|
|
|
|
|
|
stages:
|
2020-10-31 16:12:44 +01:00
|
|
|
- build
|
|
|
|
# - pages
|
2021-11-22 12:14:56 +01:00
|
|
|
# - test
|
2020-04-21 10:50:26 +02:00
|
|
|
# - e2e
|
2020-04-16 12:34:36 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
2021-11-22 12:30:01 +01:00
|
|
|
- .yarn
|
2020-04-16 12:34:36 +02:00
|
|
|
|
2020-10-31 16:12:44 +01:00
|
|
|
#pages:
|
|
|
|
# stage: pages
|
|
|
|
# script:
|
|
|
|
# - yarn install --pure-lockfile
|
|
|
|
# - yarn build:prod:gitlabpage
|
|
|
|
# - mv dist/framadate/ public/
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - public
|
|
|
|
# expire_in: '2 hours'
|
|
|
|
# only:
|
|
|
|
# - develop
|
2020-06-04 13:50:37 +02:00
|
|
|
|
2020-10-31 16:12:44 +01:00
|
|
|
#test:
|
|
|
|
# stage: test
|
|
|
|
# script:
|
|
|
|
# - npm i
|
|
|
|
# - pkill Xvfb
|
|
|
|
# - npm run test:ci
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - coverage/
|
|
|
|
# cache:
|
|
|
|
# policy: pull
|
2020-04-16 12:34:36 +02:00
|
|
|
|
2020-10-31 16:12:44 +01:00
|
|
|
build:
|
|
|
|
stage: build
|
2021-11-22 12:30:01 +01:00
|
|
|
before_script:
|
|
|
|
- yarn
|
2020-06-04 13:21:07 +02:00
|
|
|
script:
|
2021-11-22 12:14:56 +01:00
|
|
|
- yarn run build:prod:demobliss
|
2020-06-04 13:21:07 +02:00
|
|
|
cache:
|
|
|
|
policy: pull
|
|
|
|
|
|
|
|
#e2e:
|
|
|
|
# stage: e2e
|
|
|
|
# script:
|
|
|
|
# - npm i
|
|
|
|
# - pkill Xvfb
|
|
|
|
# - npm run e2e
|
|
|
|
|
|
|
|
#pages:
|
|
|
|
# stage: .post
|
|
|
|
# dependencies:
|
|
|
|
# - test
|
|
|
|
# script:
|
|
|
|
# - mv coverage/ public/
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - public
|
2021-05-18 12:12:08 +02:00
|
|
|
# expire_in: 30 dateChoices
|
2020-06-04 13:21:07 +02:00
|
|
|
# only:
|
|
|
|
# - master
|