Update .gitlab-ci.yml file

This commit is contained in:
Leratier Bretonnien 2022-01-09 08:46:40 +00:00
parent 1a36fcf95b
commit 3f8e5a2089
1 changed files with 29 additions and 0 deletions

29
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,29 @@
image: python:3-alpine
before_script:
- apk update
- apk add zip
stages:
- test
- build
test:
stage: test
script:
- python -mjson.tool 'system.json' > /dev/null
- python -mjson.tool 'template.json' > /dev/null
build:
stage: build
script:
- zip fvtt-yggdrasill.zip -r *.js *.json *.md module styles templates -x ".*"
artifacts:
name: fvtt-yggdrasill
when: on_success
paths:
- fvtt-yggdrasill.zip
when: on_success
only:
- tags
- master