mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-10 23:39:31 -05:00
15 lines
413 B
YAML
15 lines
413 B
YAML
name: 'Cache build'
|
|
description: 'get or set cache build'
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Cache .pnpm-store
|
|
id: cache-npm
|
|
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
|
with:
|
|
path: ~/.pnpm-store
|
|
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.event.pull_request.number }}-${{ runner.os }}
|
|
restore-keys: |
|
|
pnpm-
|
|
|