mpellegrini / fullstack-typescript-monorepo-starter

1 stars 1 forks source link

fix(monorepo): use pnpm cache in github actions #110

Closed mpellegrini closed 3 months ago

mpellegrini commented 3 months ago

update pnpm/action-setup to v4 as well

mpellegrini commented 3 months ago

before

/home/runner/setup-pnpm/node_modules/.bin/store/v3
pnpm cache is not found
Run pnpm install --ignore-scripts

after

/home/runner/setup-pnpm/node_modules/.bin/pnpm store path --silent
/home/runner/setup-pnpm/node_modules/.bin/store/v3
Received 0 of 67617635 (0.0%), 0.0 MBs/sec
Cache Size: ~64 MB (67617635 B)
/usr/bin/tar -xf /home/runner/work/_temp/e5f4bf40-6783-4b69-8fd4-93b8a329b7c3/cache.tzst -P -C /home/runner/work/fullstack-typescript-monorepo-starter/fullstack-typescript-monorepo-starter --use-compress-program unzstd
Received 67617635 of 67617635 (100.0%), 32.2 MBs/sec
Cache restored successfully
Cache restored from key: node-cache-Linux-pnpm-5e5846403ec16485a6755ad611d48fe30683437dab480ac0ab9f9e25dfc9a33a
Run pnpm install --ignore-scripts --frozen-lockfile