From 4a23b9eec7689ecb22253b2f6bd2c30f3489a58f Mon Sep 17 00:00:00 2001 From: litingyes Date: Fri, 6 Dec 2024 21:52:53 +0800 Subject: [PATCH] fix(action): set pnpm as cache --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5db0f62..36a47cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,9 +26,13 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 - uses: actions/setup-node@v4 with: node-version: lts/* + cache: pnpm - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}