funky-framadate-front/.gitlab-ci.yml

66 lines
931 B
YAML
Raw Normal View History

2020-06-12 19:17:39 +02:00
# image: weboaks/node-karma-protractor-chrome
image: node:latest
2020-04-16 12:34:36 +02:00
stages:
2020-10-31 16:12:44 +01:00
- build
# - pages
- test
2020-04-21 10:50:26 +02:00
# - e2e
2020-04-16 12:34:36 +02:00
cache:
paths:
- node_modules/
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-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
script:
- yarn install --pure-lockfile
- npx ng build --prod
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-17 15:25:22 +02:00
# expire_in: 30 dateList
# only:
# - master