test : 测试ci/cd

This commit is contained in:
dj
2025-06-12 14:53:52 +08:00
parent 560bea739c
commit 43e0f98509
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ 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
- rm -rf node_modules package-lock.json
- npm install - npm install
- npm run build - npm run build
- ls /app/build/$DRONE_REPO_NAME/ - ls /app/build/$DRONE_REPO_NAME/

View File

@@ -1,5 +1,6 @@
{ {
"name": "mosr-web", "name": "mosr-web",
"type": "module",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {