Use yarn
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
5b2158c240
commit
20f5d2778e
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -19,22 +19,15 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Clear packages cache') {
|
||||
steps {
|
||||
sh 'rm -rf node_modules' // Install project dependencies
|
||||
}
|
||||
}
|
||||
|
||||
stage('Install dependencies') {
|
||||
steps {
|
||||
sh 'ls && npm install' // Install project dependencies
|
||||
sh 'npm i vite@latest -D'
|
||||
sh 'yarn install' // Install project dependencies
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'ls ./node_modules && ls ./node_modules/@vitejs && npm ls vite && npm run build' // Build the project
|
||||
sh 'yarn build' // Build the project
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
18848
package-lock.json
generated
18848
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tombutcher-ui",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"homepage": "https://tombutcher.work",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user