Merge pull request 'test : ci/cd' (#1077) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1077
This commit is contained in:
2025-06-14 10:50:02 +00:00

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