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

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1059
This commit is contained in:
2025-06-14 07:44:49 +00:00

View File

@@ -8,7 +8,7 @@ steps:
- name: build-package
image: node:16.20.0
image: node:18.20.0
volumes:
- name: cache
path: /drone/src/node_modules
@@ -23,7 +23,6 @@ steps:
- cp docker.sh /app/build/$DRONE_REPO_NAME/
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
- npm -v
- npm install -g npm@11.4.2
- mkdir -p ./node_modules
- export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npmmirror.com