Merge pull request 'test : ci/cd' (#1075) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1075
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"overrides": {
|
||||
"package-manager-detector": "1.0.0"
|
||||
"package-manager-detector": "1.0.0",
|
||||
|
||||
"@iconify/utils": "2.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/g6": "^3.5.7",
|
||||
|
||||
Reference in New Issue
Block a user