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_NAME = 'status-im-auto'
|
||||||
GIT_AUTHOR_EMAIL = 'auto@status.im'
|
GIT_AUTHOR_EMAIL = 'auto@status.im'
|
||||||
PUPPETEER_SKIP_DOWNLOAD = 'true'
|
PUPPETEER_SKIP_DOWNLOAD = 'true'
|
||||||
|
NO_COLOR = 'true'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Deps') {
|
stage('Deps') {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm ci'
|
sh 'npm install'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Packages') {
|
||||||
|
steps {
|
||||||
|
sh 'npm run build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm run build'
|
|
||||||
sh 'npm run doc'
|
sh 'npm run doc'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
when { expression { GIT_BRANCH.endsWith('master') } }
|
when { expression { GIT_BRANCH.endsWith('master') } }
|
||||||
steps { script {
|
steps {
|
||||||
sshagent(credentials: ['status-im-auto-ssh']) {
|
sshagent(credentials: ['status-im-auto-ssh']) {
|
||||||
sh 'npm run deploy'
|
sh 'npm run deploy'
|
||||||
}
|
}
|
||||||
} }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
|
@ -22,6 +22,7 @@
|
||||||
"test:browser": "npm run test:browser --workspaces --if-present",
|
"test:browser": "npm run test:browser --workspaces --if-present",
|
||||||
"test:node": "npm run test:node --workspaces --if-present",
|
"test:node": "npm run test:node --workspaces --if-present",
|
||||||
"proto": "npm run proto --workspaces --if-present",
|
"proto": "npm run proto --workspaces --if-present",
|
||||||
|
"deploy": "node ci/deploy.js",
|
||||||
"doc": "run-s doc:*",
|
"doc": "run-s doc:*",
|
||||||
"doc:html": "typedoc # --treatWarningsAsErrors",
|
"doc:html": "typedoc # --treatWarningsAsErrors",
|
||||||
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
||||||
|
|
|
@ -75,7 +75,6 @@
|
||||||
"watch:build": "tsc -p tsconfig.json -w",
|
"watch:build": "tsc -p tsconfig.json -w",
|
||||||
"watch:test": "mocha --watch",
|
"watch:test": "mocha --watch",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"deploy": "node ci/deploy.js",
|
|
||||||
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
"reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
Loading…
Reference in New Issue