From 389cb9ae0839568fff6dd1f54b25476febec6936 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 14 Sep 2026 15:03:36 -0400 Subject: [PATCH] Update the code to fix --- .idea/checkstyle-idea.xml | 4 ++-- Jenkinsfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.idea/checkstyle-idea.xml b/.idea/checkstyle-idea.xml index 87234f9..398b475 100644 --- a/.idea/checkstyle-idea.xml +++ b/.idea/checkstyle-idea.xml @@ -8,8 +8,8 @@ diff --git a/Jenkinsfile b/Jenkinsfile index 4763306..a8d91df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { // This command should run on the agent to configure the git environment sh 'git config --global url."https://github.com/".insteadOf git://github.com/' sh 'corepack enable' - sh 'corepack prepare pnpm@latest --activate' + sh 'corepack prepare pnpm@12.4.1 --activate' } // git branch: 'main', // credentialsId: 'c9d0ec7c-0749-4588-8960-e96cab84d462', @@ -50,7 +50,7 @@ pipeline { stage("Install") { steps { sh ''' - pnpm clean --lockfile + rm -rf node_modules pnpm install --no-frozen-lockfile || true pnpm approve-builds --all pnpm install --no-frozen-lockfile