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

45 lines
588 B
YAML
Raw Permalink Normal View History

2022-02-21 16:12:22 +01:00
image: node:16-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