From 485ed4a1ace855b0219c29b8e442ddc4f3ebabb7 Mon Sep 17 00:00:00 2001 From: ClarkXia Date: Mon, 8 Jul 2024 15:17:47 +0800 Subject: [PATCH] chore: update ci action of pnpm (#6938) --- .github/workflows/ci.yml | 2 +- .github/workflows/coverage.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/version.yml | 2 +- .github/workflows/website.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b0df192ed..cc91aa6007 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ matrix.node-version }} registry-url: https://registry.npmjs.org/ - name: Install pnpm - uses: pnpm/action-setup@v2.2.2 + uses: pnpm/action-setup@v4 with: run_install: false - name: Get pnpm store directory diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 897bb367b4..6ed68113bf 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: node-version: [16.x] - + steps: - uses: actions/checkout@v3 with: @@ -42,7 +42,7 @@ jobs: node-version: ${{ matrix.node-version }} registry-url: https://registry.npmjs.org/ - name: Install pnpm - uses: pnpm/action-setup@v2.2.2 + uses: pnpm/action-setup@v4 with: run_install: false - name: Get pnpm store directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65ea0364b1..9f2c7e8dc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index cd1c5c2ee3..dbd231c9b6 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 9120fc1ecb..1c86fd4d55 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 - name: Use Node.js 16.x uses: actions/setup-node@v3