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
- mkdir -p /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 Dockerfile /app/build/$DRONE_REPO_NAME/
- cp .dockerignore /app/build/$DRONE_REPO_NAME/
@@ -28,7 +29,7 @@ steps:
- export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npmmirror.com
- set NODE_OPTIONS=--openssl-legacy-provider
- npm install @iconify/utils@2.2.1 --save-dev
- npm uninstall @iconify/utils
- npm install
# - npm info unplugin-icons
# - npm install unplugin-icons@latest