This commit is contained in:
parent
7f4bbb9f76
commit
cd1342cd9a
10
.drone.yml
10
.drone.yml
@ -11,15 +11,17 @@ steps:
|
|||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
cache_key: "volume"
|
cache_key: "volume"
|
||||||
mount:
|
mount:
|
||||||
- "node_modules"
|
- ".pnpm-store"
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
- name: build
|
- name: build
|
||||||
image: node:20-slim
|
image: node:20-slim
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- corepack enable
|
||||||
- npm run build
|
- pnpm config set store-dir .pnpm-store
|
||||||
|
- pnpm i
|
||||||
|
- pnpm run build
|
||||||
- name: rsync
|
- name: rsync
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
settings:
|
settings:
|
||||||
@ -44,7 +46,7 @@ steps:
|
|||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- "node_modules"
|
- ".pnpm-store"
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
Loading…
Reference in New Issue
Block a user