|
@@ -68,8 +68,8 @@ steps:
|
|
path: /drone/src/node_modules # 下载依赖的目录挂载出来,防止重复下载
|
|
path: /drone/src/node_modules # 下载依赖的目录挂载出来,防止重复下载
|
|
commands:
|
|
commands:
|
|
- yarn config set registry http://registry.npmjs.org
|
|
- yarn config set registry http://registry.npmjs.org
|
|
- - yarn install
|
|
|
|
- - yarn run build
|
|
|
|
|
|
+ # - yarn install
|
|
|
|
+ # - yarn run build
|
|
|
|
|
|
- name: build
|
|
- name: build
|
|
image: docker:20.10.7
|
|
image: docker:20.10.7
|
|
@@ -123,7 +123,7 @@ steps:
|
|
- name: modules-cache
|
|
- name: modules-cache
|
|
path: /drone/src/node_modules # 下载依赖的目录挂载出来,防止重复下载
|
|
path: /drone/src/node_modules # 下载依赖的目录挂载出来,防止重复下载
|
|
commands:
|
|
commands:
|
|
- - yarn run build
|
|
|
|
|
|
+ # - yarn run build
|
|
|
|
|
|
# - yarn install && yarn run build
|
|
# - yarn install && yarn run build
|
|
- name: push
|
|
- name: push
|