diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index 635eb84654..376c7e6f2a 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -13,9 +13,7 @@ runs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Setup project if: ${{ inputs.setup == 'true' }} diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ea14c2b1df..40e6ee7bca 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -74,9 +74,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Install wine64 run: | diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 4d148df655..1e2666780d 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -204,9 +204,7 @@ jobs: python3 --version pip3 --version - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Setup project run: | @@ -512,9 +510,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: mv files working-directory: packages/tests diff --git a/.github/workflows/env-checker-ci-pr.yml b/.github/workflows/env-checker-ci-pr.yml index c6f9c10a38..259caceee4 100644 --- a/.github/workflows/env-checker-ci-pr.yml +++ b/.github/workflows/env-checker-ci-pr.yml @@ -54,9 +54,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 # https://github.com/marketplace/actions/retry-step - name: Setup project with Retry diff --git a/.github/workflows/env-checker-ci-schedule.yml b/.github/workflows/env-checker-ci-schedule.yml index 6bb26cb50f..f47ccae889 100644 --- a/.github/workflows/env-checker-ci-schedule.yml +++ b/.github/workflows/env-checker-ci-schedule.yml @@ -38,9 +38,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 # https://github.com/marketplace/actions/retry-step - name: Setup project with Retry @@ -106,9 +104,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 # https://github.com/marketplace/actions/retry-step - name: Setup project with Retry @@ -187,9 +183,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 # https://github.com/marketplace/actions/retry-step - name: Setup project with Retry diff --git a/.github/workflows/rerun.yml b/.github/workflows/rerun.yml index 0d9bd177b5..99cd9d86c2 100644 --- a/.github/workflows/rerun.yml +++ b/.github/workflows/rerun.yml @@ -114,9 +114,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Setup project working-directory: ./ diff --git a/.github/workflows/templates-ci.yml b/.github/workflows/templates-ci.yml index 7febeb02c1..8ce6ff2718 100644 --- a/.github/workflows/templates-ci.yml +++ b/.github/workflows/templates-ci.yml @@ -31,9 +31,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: Setup project run: | diff --git a/.github/workflows/ui-test.yml b/.github/workflows/ui-test.yml index 3d30f48784..61420c203d 100644 --- a/.github/workflows/ui-test.yml +++ b/.github/workflows/ui-test.yml @@ -108,9 +108,7 @@ jobs: with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: create pvt file (random platform/node) if: ${{ github.event.schedule == '0 18 * * *' }} || ${{ github.event.inputs.test-case }} == '' @@ -539,9 +537,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - - uses: pnpm/action-setup@v2 - with: - version: 8 + - uses: pnpm/action-setup@v4 - name: setup project run: | pnpm --filter=@microsoft/teamsfx-test install