Switched package manager from Yarn to PNPM in Jenkinsfile and added pnpm-lock.yaml and pnpm-workspace.yaml for dependency management.
Some checks failed
thehideout/TheHideout-API/pipeline/head There was a failure building this commit
Some checks failed
thehideout/TheHideout-API/pipeline/head There was a failure building this commit
This commit is contained in:
parent
f36dfb63df
commit
0efacb8377
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -12,13 +12,13 @@ def deploy() {
|
|||||||
|
|
||||||
nodejs(nodeJSInstallationName: 'Node23') {
|
nodejs(nodeJSInstallationName: 'Node23') {
|
||||||
stage('Install') {
|
stage('Install') {
|
||||||
sh 'yarn install --frozen-lockfile --production=false'
|
sh 'pnpm install --frozen-lockfile'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
// Deploy to Cloudflare Workers using wrangler
|
// Deploy to Cloudflare Workers using wrangler
|
||||||
withCredentials([string(credentialsId: 'th-cloudflare-api-token', variable: 'CLOUDFLARE_API_TOKEN')]) {
|
withCredentials([string(credentialsId: 'th-cloudflare-api-token', variable: 'CLOUDFLARE_API_TOKEN')]) {
|
||||||
sh 'yarn deploy'
|
sh 'pnpm run deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4563
pnpm-lock.yaml
generated
Normal file
4563
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
5
pnpm-workspace.yaml
Normal file
5
pnpm-workspace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
allowBuilds:
|
||||||
|
es5-ext: true
|
||||||
|
esbuild: true
|
||||||
|
sharp: true
|
||||||
|
workerd: true
|
||||||
Loading…
x
Reference in New Issue
Block a user