Merge pull request '3' (#1079) from master into prod

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

View File

@@ -8,7 +8,7 @@ steps:
- name: build-package - name: build-package
image: node:16.20.0 image: node:18.19.0
volumes: volumes:
- name: cache - name: cache
path: /drone/src/node_modules path: /drone/src/node_modules
@@ -28,11 +28,11 @@ steps:
- export NODE_MODULES_PATH=`pwd`/node_modules - export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npmmirror.com - npm config set registry https://registry.npmmirror.com
- set NODE_OPTIONS=--openssl-legacy-provider - set NODE_OPTIONS=--openssl-legacy-provider
- npm install - npm install --legacy-peer-deps
- npm install patch-package - npm install patch-package
- npx patch-package - npx patch-package
# - npm info unplugin-icons # - npm info unplugin-icons
# - npm install unplugin-icons@latest - npm install unplugin-icons@latest
- npm list package-manager-detector - npm list package-manager-detector
# - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest # - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest
- npm run build - npm run build