mirror of https://github.com/waku-org/js-waku.git
ci: fix builds broken by moving to packages/core
Broken by: https://github.com/waku-org/js-waku/commit/b975943e Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c7100fb820
commit
e0c738c092
|
@ -14,29 +14,35 @@ pipeline {
|
|||
GIT_AUTHOR_NAME = 'status-im-auto'
|
||||
GIT_AUTHOR_EMAIL = 'auto@status.im'
|
||||
PUPPETEER_SKIP_DOWNLOAD = 'true'
|
||||
NO_COLOR = 'true'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Deps') {
|
||||
steps {
|
||||
sh 'npm ci'
|
||||
sh 'npm install'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Packages') {
|
||||
steps {
|
||||
sh 'npm run build'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'npm run build'
|
||||
sh 'npm run doc'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Publish') {
|
||||
when { expression { GIT_BRANCH.endsWith('master') } }
|
||||
steps { script {
|
||||
steps {
|
||||
sshagent(credentials: ['status-im-auto-ssh']) {
|
||||
sh 'npm run deploy'
|
||||
}
|
||||
} }
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
|
@ -22,6 +22,7 @@
|
|||
"test:browser": "npm run test:browser --workspaces --if-present",
|
||||
"test:node": "npm run test:node --workspaces --if-present",
|
||||
"proto": "npm run proto --workspaces --if-present",
|
||||
"deploy": "node ci/deploy.js",
|
||||
"doc": "run-s doc:*",
|
||||
"doc:html": "typedoc # --treatWarningsAsErrors",
|
||||
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
||||
|
|
|
@ -75,7 +75,6 @@
|
|||
"watch:build": "tsc -p tsconfig.json -w",
|
||||
"watch:test": "mocha --watch",
|
||||
"prepublish": "npm run build",
|
||||
"deploy": "node ci/deploy.js",
|
||||
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
||||
},
|
||||
"engines": {
|
||||
|
|
Loading…
Reference in New Issue