change pnpm cache path
This commit is contained in:
parent
51f20895e5
commit
6710ecf120
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- name: get npm cache directory
|
- name: get npm cache directory
|
||||||
id: pnpm-cache-dir
|
id: pnpm-cache-dir
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "dir=$(pnpm store path)" >> ${GITHUB_OUTPUT}
|
run: pnpm config set store-dir ~/.pnpm-store && echo "::set-output name=dir::$(pnpm config get store-dir)"
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: pnpm-cache
|
id: pnpm-cache
|
||||||
name: restore pnpm cache
|
name: restore pnpm cache
|
||||||
|
|
Loading…
Reference in a new issue