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

45 lines
588 B
YAML
Raw Permalink Normal View History

2020-08-18 15:57:14 +02:00
image: node:10-alpine
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:
2020-08-18 15:39:00 +02:00
- apk add make
- 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