From f7963394cbf6db4048b1e1d0ef1ec748230ad8a4 Mon Sep 17 00:00:00 2001 From: martintomas Date: Mon, 6 Jan 2025 11:50:07 +0100 Subject: [PATCH] fix: set store flag for pnpm --- client/config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/deploy.rb b/client/config/deploy.rb index 8a3bc77..d0aaccf 100644 --- a/client/config/deploy.rb +++ b/client/config/deploy.rb @@ -8,7 +8,7 @@ set :nvm_type, :user set :nvm_node, 'v22.11.0' set :nvm_map_bins, %w{node npm pnpm} -set :pnpm_flags, %w{--silent} +set :pnpm_flags, %w{--silent} + ["--store=#{shared_path}/node_modules"] set :repository_cache, "git_cache" set :deploy_via, :remote_cache