ci: update actions to resolve github's complain about deprecated Node.js v16 env (#285)

* ci: update the action to utilize Node.js version 20

* ci: update key for Hugo action to include 'resources' folder
This commit is contained in:
Spedon
2024-02-23 16:13:46 +08:00
committed by GitHub
parent 1ff94546e0
commit 633f6a40e2
2 changed files with 7 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ jobs:
token: ${{ secrets.PAT }}
- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
@@ -31,7 +31,7 @@ jobs:
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}