diff --git a/.drone.yml b/.drone.yml index 3aaf67e..2290827 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,12 +22,15 @@ steps: - cp default.conf /app/build/$DRONE_REPO_NAME/ - cp docker.sh /app/build/$DRONE_REPO_NAME/ - cp nginx.conf /app/build/$DRONE_REPO_NAME/ + - npm install -g npm@11.4.2 - npm -v + - node -v - mkdir -p ./node_modules - export NODE_MODULES_PATH=`pwd`/node_modules - npm config set registry https://registry.npmmirror.com - set NODE_OPTIONS=--openssl-legacy-provider - npm install + - npm install package-manager-detector@1.2.0 --save-exact - npm list package-manager-detector # - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest - npm run build