Merge pull request 'test : ci/cd' (#1077) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1077
This commit is contained in:
@@ -16,7 +16,6 @@ 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/
|
||||||
@@ -29,10 +28,12 @@ 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
|
||||||
|
- rm -rf node_modules package-lock.json
|
||||||
- npm install
|
- npm install
|
||||||
|
- npm install patch-package
|
||||||
|
- npx patch-package
|
||||||
# - npm info unplugin-icons
|
# - npm info unplugin-icons
|
||||||
# - npm install unplugin-icons@latest
|
# - npm install unplugin-icons@latest
|
||||||
- npm uninstall @iconify/utils
|
|
||||||
- npm list package-manager-detector
|
- npm list package-manager-detector
|
||||||
# - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest
|
# - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user