gitlab-ci testing

This commit is contained in:
Johannes Loher 2020-12-27 15:07:23 +01:00
parent 67e2ab7d4a
commit a62f301df8

View file

@ -3,8 +3,8 @@ image: node:latest
stages: stages:
- prepare - prepare
- test - test
- bar
- build - build
- deploy
cache: &global_cache cache: &global_cache
key: key:
@ -40,6 +40,11 @@ lint:
# cache: # cache:
# <<: *global_cache # <<: *global_cache
foo:
stage: bar
script:
- ls dist
build: build:
stage: build stage: build
script: script:
@ -51,11 +56,6 @@ build:
- dist/ - dist/
expire_in: 1 week expire_in: 1 week
foo:
stage: deploy
script:
- ls dist
# deploy: # deploy:
# stage: deploy # stage: deploy
# # dependencies: # # dependencies: