mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
16 lines
413 B
YAML
16 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@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.0.2
|
||
|
with:
|
||
|
path: ~/.pnpm-store
|
||
|
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.event.pull_request.number }}-${{ runner.os }}
|
||
|
restore-keys: |
|
||
|
pnpm-
|
||
|
|