From 7dd512013396a73b335bfa3d8ff5cf16420861d2 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Sat, 14 Jun 2025 18:49:22 +0800 Subject: [PATCH] test : ci/cd --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1acf368..ef9193d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,6 @@ steps: - export CI=false - mkdir -p /app/build/$DRONE_REPO_NAME - rm -rf /app/build/$DRONE_REPO_NAME/* -# - rm -rf node_modules package-lock.json - cp deployment.yml /app/build/$DRONE_REPO_NAME/ - cp Dockerfile /app/build/$DRONE_REPO_NAME/ - cp .dockerignore /app/build/$DRONE_REPO_NAME/ @@ -29,10 +28,12 @@ steps: - export NODE_MODULES_PATH=`pwd`/node_modules - npm config set registry https://registry.npmmirror.com - set NODE_OPTIONS=--openssl-legacy-provider + - rm -rf node_modules package-lock.json - npm install + - npm install patch-package + - npx patch-package # - npm info unplugin-icons # - npm install unplugin-icons@latest - - npm uninstall @iconify/utils - npm list package-manager-detector # - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest - npm run build