1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-25 00:11:36 +01:00
foris-js/.gitlab-ci.yml
2024-01-19 21:15:50 +03:00

45 lines
655 B
YAML

image: registry.nic.cz/turris/reforis/reforis/reforis-image
stages:
- test
- build
- publish
before_script:
- apt-get update && apt-get install -y make
- npm install
test:
stage: test
script:
- make test
lint:
stage: test
script:
- make lint
build:
stage: build
script:
- make pack
artifacts:
paths:
- dist/foris-*.tgz
publish_beta:
stage: publish
only:
refs:
- dev
script:
- make publish-beta
publish_latest:
stage: publish
only:
refs:
- master
script:
- make publish-latest