mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
ci: update ci config
This commit is contained in:
@@ -12,6 +12,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
- publish
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -70,21 +71,6 @@ scheduled-audit:
|
|||||||
- npm audit
|
- npm audit
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
package:
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
tags:
|
|
||||||
- secrecy
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
|
||||||
- npm publish
|
|
||||||
only:
|
|
||||||
- /^v[0-9]+.[0-9]+.[0-9]+$/
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- lib
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
@@ -95,3 +81,18 @@ pages:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
package:
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
tags:
|
||||||
|
- secrecy
|
||||||
|
stage: publish
|
||||||
|
script:
|
||||||
|
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
||||||
|
- npm publish
|
||||||
|
only:
|
||||||
|
- /^v[0-9]+.[0-9]+.[0-9]+$/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- lib
|
||||||
|
|||||||
Reference in New Issue
Block a user