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
2019-11-01 09:28:28 +00:00

45 lines
501 B
YAML

image: node:8-alpine
stages:
- test
- build
- publish
before_script:
- apk add 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