test : ci/cd

This commit is contained in:
dj
2025-06-14 18:40:23 +08:00
parent 85346fa343
commit 9cd744d44e
2 changed files with 5 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ steps:
- export CI=false - export CI=false
- mkdir -p /app/build/$DRONE_REPO_NAME - mkdir -p /app/build/$DRONE_REPO_NAME
- rm -rf /app/build/$DRONE_REPO_NAME/* - rm -rf /app/build/$DRONE_REPO_NAME/*
# - rm -rf node_modules package-lock.json
- cp deployment.yml /app/build/$DRONE_REPO_NAME/ - cp deployment.yml /app/build/$DRONE_REPO_NAME/
- cp Dockerfile /app/build/$DRONE_REPO_NAME/ - cp Dockerfile /app/build/$DRONE_REPO_NAME/
- cp .dockerignore /app/build/$DRONE_REPO_NAME/ - cp .dockerignore /app/build/$DRONE_REPO_NAME/
@@ -28,7 +29,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
- npm install @iconify/utils@2.2.1 --save-dev - npm uninstall @iconify/utils
- npm install - npm install
# - npm info unplugin-icons # - npm info unplugin-icons
# - npm install unplugin-icons@latest # - npm install unplugin-icons@latest

View File

@@ -8,7 +8,9 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"overrides": { "overrides": {
"package-manager-detector": "1.0.0" "package-manager-detector": "1.0.0",
"@iconify/utils": "2.2.1"
}, },
"dependencies": { "dependencies": {
"@antv/g6": "^3.5.7", "@antv/g6": "^3.5.7",