From 21c6bb6e786a74338df87956e0b8cb2d15e69aab Mon Sep 17 00:00:00 2001 From: ChronosXYZ Date: Thu, 19 Sep 2024 03:45:58 +0300 Subject: [PATCH] Use pnpm in drone CI --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5c41266..4f9b4c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: