1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +02:00

Flat structure of published package

This commit is contained in:
Maciej Lenartowicz
2019-11-01 09:28:28 +00:00
parent 6835bc7a28
commit 0984c45161
8 changed files with 33 additions and 23 deletions

View File

@ -6,25 +6,26 @@ stages:
- publish
before_script:
- apk add make
- npm install
test:
stage: test
script:
- npm test
- make test
lint:
stage: test
script:
- npm run lint
- make lint
build:
stage: build
script:
- npm pack
- make pack
artifacts:
paths:
- foris-*.tgz
- dist/foris-*.tgz
publish_beta:
stage: publish
@ -32,7 +33,7 @@ publish_beta:
refs:
- dev
script:
- sh scripts/publish.sh beta
- make publish-beta
publish_latest:
stage: publish
@ -40,4 +41,4 @@ publish_latest:
refs:
- master
script:
- sh scripts/publish.sh latest
- make publish-latest