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:
Jakub Sokołowski 2022-12-01 10:19:14 +01:00
parent c7100fb820
commit e0c738c092
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
3 changed files with 11 additions and 5 deletions

View File

@ -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 {

View File

@ -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",

View File

@ -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": {