test : ci/cd1
This commit is contained in:
@@ -8,7 +8,7 @@ steps:
|
||||
|
||||
|
||||
- name: build-package
|
||||
image: node:16.20.0
|
||||
image: node:18.20.0
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /drone/src/node_modules
|
||||
@@ -23,6 +23,7 @@ steps:
|
||||
- cp docker.sh /app/build/$DRONE_REPO_NAME/
|
||||
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
|
||||
- npm -v
|
||||
- npm install -g npm@11.4.2
|
||||
- mkdir -p ./node_modules
|
||||
- export NODE_MODULES_PATH=`pwd`/node_modules
|
||||
- npm config set registry https://registry.npmmirror.com
|
||||
|
||||
Reference in New Issue
Block a user