Merge pull request 'test : ci/cd' (#1061) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1061
This commit is contained in:
@@ -22,12 +22,15 @@ steps:
|
||||
- cp default.conf /app/build/$DRONE_REPO_NAME/
|
||||
- cp docker.sh /app/build/$DRONE_REPO_NAME/
|
||||
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
|
||||
- npm install -g npm@11.4.2
|
||||
- npm -v
|
||||
- node -v
|
||||
- mkdir -p ./node_modules
|
||||
- export NODE_MODULES_PATH=`pwd`/node_modules
|
||||
- npm config set registry https://registry.npmmirror.com
|
||||
- set NODE_OPTIONS=--openssl-legacy-provider
|
||||
- npm install
|
||||
- npm install package-manager-detector@1.2.0 --save-exact
|
||||
- npm list package-manager-detector
|
||||
# - npm install unplugin-icons@latest @antfu/install-pkg@latest package-manager-detector@latest
|
||||
- npm run build
|
||||
|
||||
Reference in New Issue
Block a user