test : ci/cd
This commit is contained in:
@@ -8,7 +8,7 @@ steps:
|
|||||||
|
|
||||||
|
|
||||||
- name: build-package
|
- name: build-package
|
||||||
image: node:16.20.0
|
image: node:18.20.0
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /drone/src/node_modules
|
path: /drone/src/node_modules
|
||||||
@@ -23,7 +23,6 @@ steps:
|
|||||||
- cp docker.sh /app/build/$DRONE_REPO_NAME/
|
- cp docker.sh /app/build/$DRONE_REPO_NAME/
|
||||||
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
|
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
|
||||||
- npm -v
|
- npm -v
|
||||||
- npm install -g npm@11.4.2
|
|
||||||
- mkdir -p ./node_modules
|
- mkdir -p ./node_modules
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user