From 23533df005d1f798701d022a947e2f1a3d27a815 Mon Sep 17 00:00:00 2001 From: Commit User Date: Tue, 16 Jul 2024 11:57:16 +0200 Subject: [PATCH] fix: github actions --- .github/workflows/release.yml | 7 ++++--- .github/workflows/verify.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f758255..49bf659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,10 +17,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Use Node.js 20 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: + cache: 'pnpm' node-version: 20 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 name: Install pnpm id: pnpm-install with: @@ -30,7 +31,7 @@ jobs: id: pnpm-cache run: | echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 7429b5e..60a7e07 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -13,10 +13,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: + cache: 'pnpm' node-version: ${{ matrix.node-version }} - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 name: Install pnpm id: pnpm-install with: @@ -26,7 +27,7 @@ jobs: id: pnpm-cache run: | echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}