add cache
This commit is contained in:
parent
db64497a3b
commit
2ac7c3d18f
1 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,18 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: install pnpm
|
- name: install pnpm
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
- name: Restore pnpm cache
|
||||||
|
uses: actions/cache/restore@v3
|
||||||
|
with:
|
||||||
|
path: ~/.pnpm-store
|
||||||
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
- name: pnpm install
|
||||||
|
run: pnpm install
|
||||||
|
- name: Restore pnpm cache
|
||||||
|
uses: actions/cache/save@v3
|
||||||
|
with:
|
||||||
|
path: ~/.pnpm-store
|
||||||
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
- name: dotnet restore
|
- name: dotnet restore
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: dotnet build
|
- name: dotnet build
|
||||||
|
|
Loading…
Reference in a new issue