fix : 还原drone.yml文件

This commit is contained in:
2024-07-24 22:09:57 +08:00
parent 1716a3a562
commit 328c75b2e4

View File

@@ -25,9 +25,9 @@ steps:
- npm -v - npm -v
- mkdir -p ./node_modules - mkdir -p ./node_modules
- 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
- npm run build - npm run build
- ls /app/build/$DRONE_REPO_NAME/ - ls /app/build/$DRONE_REPO_NAME/
- echo $NODE_MODULES_PATH - echo $NODE_MODULES_PATH