mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 11:12:52 +00:00
@@ -589,6 +589,17 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
'node_modules',
|
'node_modules',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
stage: 'build',
|
||||||
|
script: [
|
||||||
|
'npm run build',
|
||||||
|
],
|
||||||
|
artifacts: {
|
||||||
|
paths: [
|
||||||
|
'lib',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
audit: {
|
audit: {
|
||||||
allow_failure: true,
|
allow_failure: true,
|
||||||
except: [
|
except: [
|
||||||
@@ -608,6 +619,27 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
],
|
],
|
||||||
stage: 'test',
|
stage: 'test',
|
||||||
},
|
},
|
||||||
|
package: {
|
||||||
|
dependencies: [
|
||||||
|
'build',
|
||||||
|
],
|
||||||
|
tags: [
|
||||||
|
'secrecy',
|
||||||
|
],
|
||||||
|
stage: 'deploy',
|
||||||
|
script: [
|
||||||
|
'echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc',
|
||||||
|
'npm publish',
|
||||||
|
],
|
||||||
|
only: [
|
||||||
|
'/^v[0-9]+\.[0-9]+\.[0-9]+$/',
|
||||||
|
],
|
||||||
|
artifacts: {
|
||||||
|
paths: [
|
||||||
|
'public',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
pages: {
|
pages: {
|
||||||
artifacts: {
|
artifacts: {
|
||||||
'paths': [
|
'paths': [
|
||||||
|
|||||||
Reference in New Issue
Block a user