diff --git a/Jenkinsfile b/Jenkinsfile index 2749409..9281efe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,13 +22,12 @@ pipeline { stage('Install dependencies') { steps { sh 'ls && npm install' // Install project dependencies - stash name: 'node_modules', includes: 'node_modules/**' + sh 'npm install vite --save-dev' } } stage('Build') { steps { - unstash 'node_modules' sh 'ls ./node_modules && npm ls vite && npm run build' // Build the project } } diff --git a/package-lock.json b/package-lock.json index a4e798a..a2cc4ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "personal-site", + "name": "tombutcher-ui", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "personal-site", + "name": "tombutcher-ui", "version": "0.1.0", "dependencies": { "@ant-design/icons": "^6.0.0",