Merge pull request 'test : ci/cd 2' (#1058) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1058
This commit is contained in:
@@ -8,7 +8,7 @@ steps:
|
||||
|
||||
|
||||
- name: build-package
|
||||
image: node:18.20.0
|
||||
image: node:16.20.0
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /drone/src/node_modules
|
||||
@@ -30,7 +30,7 @@ steps:
|
||||
- set NODE_OPTIONS=--openssl-legacy-provider
|
||||
- npm install
|
||||
- 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
|
||||
- ls /app/build/$DRONE_REPO_NAME/
|
||||
- echo $NODE_MODULES_PATH
|
||||
|
||||
Reference in New Issue
Block a user