Use pnpm in drone CI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ChronosXYZ 2024-09-19 03:45:58 +03:00
parent 7f4bbb9f76
commit 8d582604d2
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791

View File

@ -11,15 +11,17 @@ steps:
archive_format: "gzip"
cache_key: "volume"
mount:
- "node_modules"
- ".pnpm-store"
volumes:
- name: cache
path: /tmp/cache
- name: build
image: node:20-slim
commands:
- npm install
- npm run build
- corepack enable
- pnpm config set store-dir .pnpm-store
- pnpm i
- pnpm run build
- name: rsync
image: drillster/drone-rsync
settings:
@ -44,7 +46,7 @@ steps:
backend: "filesystem"
archive_format: "gzip"
mount:
- "node_modules"
- ".pnpm-store"
volumes:
- name: cache
path: /tmp/cache