test : ci/cd

This commit is contained in:
dj
2025-06-14 18:49:22 +08:00
parent 41b498066f
commit 7dd5120133

View File

@@ -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