From 762e43b4f6b3ddf353aae8ea9499013d0d3b4808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sun, 1 May 2022 14:13:05 +0800 Subject: [PATCH] fix: pin pnpm version (#7455) --- .github/workflows/pr-docs-build.yml | 2 +- .github/workflows/publish-build-product.yml | 2 +- .github/workflows/publish-docs-deploy-manual.yml | 2 +- .github/workflows/publish-docs-deploy.yml | 2 +- .github/workflows/publish-npm-nightly.yml | 4 ++-- .github/workflows/publish-npm.yml | 4 ++-- .github/workflows/publish-size-report.yml | 2 +- .github/workflows/staging-docs.yml | 2 +- .github/workflows/test-coverage.yml | 2 +- .github/workflows/test-ssr.yml | 2 +- .github/workflows/test-unit.yml | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr-docs-build.yml b/.github/workflows/pr-docs-build.yml index c89f5fe27a..1f758e483f 100644 --- a/.github/workflows/pr-docs-build.yml +++ b/.github/workflows/pr-docs-build.yml @@ -28,7 +28,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 diff --git a/.github/workflows/publish-build-product.yml b/.github/workflows/publish-build-product.yml index c461b440a6..6756c0b6c7 100644 --- a/.github/workflows/publish-build-product.yml +++ b/.github/workflows/publish-build-product.yml @@ -22,7 +22,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Setup node uses: actions/setup-node@v3 diff --git a/.github/workflows/publish-docs-deploy-manual.yml b/.github/workflows/publish-docs-deploy-manual.yml index 5de68a31ab..dc9fe068a3 100644 --- a/.github/workflows/publish-docs-deploy-manual.yml +++ b/.github/workflows/publish-docs-deploy-manual.yml @@ -17,7 +17,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 diff --git a/.github/workflows/publish-docs-deploy.yml b/.github/workflows/publish-docs-deploy.yml index c63b7e586e..5e05a23510 100644 --- a/.github/workflows/publish-docs-deploy.yml +++ b/.github/workflows/publish-docs-deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 diff --git a/.github/workflows/publish-npm-nightly.yml b/.github/workflows/publish-npm-nightly.yml index 802e5b6033..b5adb3c08e 100644 --- a/.github/workflows/publish-npm-nightly.yml +++ b/.github/workflows/publish-npm-nightly.yml @@ -21,7 +21,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 @@ -55,7 +55,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Get current date id: date diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 9472771d34..588ea09020 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -20,7 +20,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 @@ -53,7 +53,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Get version run: echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Get git head diff --git a/.github/workflows/publish-size-report.yml b/.github/workflows/publish-size-report.yml index 67c8b26ed0..d629e4a491 100644 --- a/.github/workflows/publish-size-report.yml +++ b/.github/workflows/publish-size-report.yml @@ -22,7 +22,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 diff --git a/.github/workflows/staging-docs.yml b/.github/workflows/staging-docs.yml index ef0b45dd16..1b191b1962 100644 --- a/.github/workflows/staging-docs.yml +++ b/.github/workflows/staging-docs.yml @@ -22,7 +22,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Cache ~/.pnpm-store uses: actions/cache@v3 diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index c342d01bdf..872e6f8c64 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -26,7 +26,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Setup node uses: actions/setup-node@v3 with: diff --git a/.github/workflows/test-ssr.yml b/.github/workflows/test-ssr.yml index c03c1426ef..d2defcccda 100644 --- a/.github/workflows/test-ssr.yml +++ b/.github/workflows/test-ssr.yml @@ -18,7 +18,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Setup node uses: actions/setup-node@v3 diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 097e515e0f..f76cdaf127 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -23,7 +23,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 with: - version: latest + version: 6 - name: Setup node uses: actions/setup-node@v3 with: