Added vite and wranger to global install.
Some checks failed
tombutcher.work/tombutcher-ui/pipeline/head There was a failure building this commit
Some checks failed
tombutcher.work/tombutcher-ui/pipeline/head There was a failure building this commit
This commit is contained in:
parent
f78b47e41f
commit
b88ff3a16a
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -22,7 +22,7 @@ pipeline {
|
|||||||
stage('Install dependencies') {
|
stage('Install dependencies') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'npm install' // Install project dependencies
|
sh 'npm install && npm install -g vite wrangler' // Install project dependencies
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -39,7 +39,6 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
npm install -g wrangler
|
|
||||||
wrangler pages deploy ./build \
|
wrangler pages deploy ./build \
|
||||||
--project-name $PROJECT_NAME \
|
--project-name $PROJECT_NAME \
|
||||||
--branch main \
|
--branch main \
|
||||||
|
|||||||
8
package-lock.json
generated
8
package-lock.json
generated
@ -40,7 +40,7 @@
|
|||||||
"eslint-plugin-react-hooks": "^5.0.0",
|
"eslint-plugin-react-hooks": "^5.0.0",
|
||||||
"eslint-plugin-react-refresh": "^0.4.16",
|
"eslint-plugin-react-refresh": "^0.4.16",
|
||||||
"globals": "^15.14.0",
|
"globals": "^15.14.0",
|
||||||
"vite": "^6.0.5",
|
"vite": "^6.2.5",
|
||||||
"wrangler": "^4.4.0"
|
"wrangler": "^4.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -22648,9 +22648,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/vite": {
|
"node_modules/vite": {
|
||||||
"version": "6.2.3",
|
"version": "6.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.5.tgz",
|
||||||
"integrity": "sha512-IzwM54g4y9JA/xAeBPNaDXiBF8Jsgl3VBQ2YQ/wOY6fyW3xMdSoltIV3Bo59DErdqdE6RxUfv8W69DvUorE4Eg==",
|
"integrity": "sha512-j023J/hCAa4pRIUH6J9HemwYfjB5llR2Ps0CWeikOtdR8+pAURAk0DoJC5/mm9kd+UgdnIy7d6HE4EAvlYhPhA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -62,7 +62,7 @@
|
|||||||
"eslint-plugin-react-hooks": "^5.0.0",
|
"eslint-plugin-react-hooks": "^5.0.0",
|
||||||
"eslint-plugin-react-refresh": "^0.4.16",
|
"eslint-plugin-react-refresh": "^0.4.16",
|
||||||
"globals": "^15.14.0",
|
"globals": "^15.14.0",
|
||||||
"vite": "^6.0.5",
|
"vite": "^6.2.5",
|
||||||
"wrangler": "^4.4.0"
|
"wrangler": "^4.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user