Update npm install command in Jenkinsfile

Forced installation of npm packages and resolved legacy peer dependency issues by adding `--force` and `--legacy-peer-dep` flags to `npm install` command. This ensures compatibility with certain package versions that may have unresolved peer dependencies.
This commit is contained in:
Teriuihi 2024-08-04 23:10:42 +02:00
parent 8b6e65bad1
commit a8ea5c38f1

2
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
stages {
stage('Gradle') {
steps {
sh 'npm install'
sh 'npm install --force --legacy-peer-dep'
sh 'npm run build'
}
}