Use yarn
Some checks failed
tombutcher.work/tombutcher-ui/pipeline/head There was a failure building this commit

This commit is contained in:
Tom Butcher 2025-04-06 22:36:30 +01:00
parent 5b2158c240
commit 20f5d2778e
3 changed files with 3 additions and 18858 deletions

11
Jenkinsfile vendored
View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "tombutcher-ui",
"version": "0.1.0",
"version": "1.0.0",
"type": "module",
"private": true,
"homepage": "https://tombutcher.work",