test : ci/cd

This commit is contained in:
dj
2025-06-14 15:09:17 +08:00
parent 81446971e5
commit 8fa0d72cc4
2 changed files with 1 additions and 3 deletions

View File

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

View File

@@ -20,7 +20,6 @@
"jquery": "^3.6.0", "jquery": "^3.6.0",
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"package-manager-detector": "^1.3.0",
"pinia": "^2.0.35", "pinia": "^2.0.35",
"sass": "^1.62.1", "sass": "^1.62.1",
"scss": "^0.2.4", "scss": "^0.2.4",