test : ci/cd

This commit is contained in:
dj
2025-06-14 15:12:49 +08:00
parent 8fa0d72cc4
commit 07103258f7

View File

@@ -8,7 +8,7 @@ steps:
- name: build-package - name: build-package
image: node:18.20.0 image: node:16.20.0
volumes: volumes:
- name: cache - name: cache
path: /drone/src/node_modules path: /drone/src/node_modules
@@ -28,6 +28,7 @@ steps:
- 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 list package-manager-detector
- 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