From a79a469e4b661c0520ebc038dd0c87c902aa6fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=9D=82=E9=9B=85?= <23130178+ShadowRZ@users.noreply.github.com> Date: Wed, 19 Jun 2024 10:41:58 +0800 Subject: [PATCH] fix: Fix Actions --- .github/workflows/github-pages.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 6fbb1c6..43c0fad 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -9,11 +9,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - run: corepack enable - - uses: actions/setup-node@v3 + - name: Checkout + uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 with: node-version: "20" + cache: 'pnpm' # Pick your own package manager and build script - run: pnpm install - run: pnpm run build --preset=github_pages