1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-27 00:31:35 +01:00
foris-js/.gitlab-ci.yml

45 lines
655 B
YAML
Raw Normal View History

2024-01-19 19:06:25 +01:00
image: registry.nic.cz/turris/reforis/reforis/reforis-image
2019-08-27 16:10:14 +02:00
stages:
2020-08-18 15:39:00 +02:00
- test
- build
- publish
2019-08-27 16:10:14 +02:00
before_script:
2024-01-19 19:06:25 +01:00
- apt-get update && apt-get install -y make
2020-08-18 15:39:00 +02:00
- npm install
2019-08-27 16:10:14 +02:00
test:
2020-08-18 15:39:00 +02:00
stage: test
script:
- make test
2019-08-27 16:10:14 +02:00
lint:
2020-08-18 15:39:00 +02:00
stage: test
script:
- make lint
2019-08-27 16:10:14 +02:00
build:
2020-08-18 15:39:00 +02:00
stage: build
script:
- make pack
artifacts:
paths:
- dist/foris-*.tgz
2019-10-07 16:43:57 +02:00
publish_beta:
2020-08-18 15:39:00 +02:00
stage: publish
only:
refs:
- dev
script:
- make publish-beta
2019-10-07 16:43:57 +02:00
publish_latest:
2020-08-18 15:39:00 +02:00
stage: publish
only:
refs:
- master
script:
- make publish-latest