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