From b0b42fd96d1cdfa12ef323e4a2a4c5a0bbdd7912 Mon Sep 17 00:00:00 2001 From: Gimmy <975402925@qq.com> Date: Mon, 13 Jan 2025 16:32:47 +0800 Subject: [PATCH] ci: change ubuntu-latest to ubuntu-22.04 when run e2e test --- .github/workflows/test-e2e-all.yml | 4 ++-- .github/workflows/test-e2e-dispatch.yml | 2 +- .github/workflows/test-e2e-pr-comment.yml | 2 +- .github/workflows/test-e2e-pr.yml | 4 ++-- .github/workflows/test-unit-pr.yml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-e2e-all.yml b/.github/workflows/test-e2e-all.yml index ee6ca6eaae..6cd8e42dee 100644 --- a/.github/workflows/test-e2e-all.yml +++ b/.github/workflows/test-e2e-all.yml @@ -10,7 +10,7 @@ jobs: dispatch-test-all: name: Dispatch All Test timeout-minutes: 60 - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -63,7 +63,7 @@ jobs: if: always() needs: [dispatch-test-all] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/test-e2e-dispatch.yml b/.github/workflows/test-e2e-dispatch.yml index eab62824f8..b897dd5b7c 100644 --- a/.github/workflows/test-e2e-dispatch.yml +++ b/.github/workflows/test-e2e-dispatch.yml @@ -17,7 +17,7 @@ jobs: dispatch-tests: name: Dispatch Tests timeout-minutes: 60 - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Setup pnpm diff --git a/.github/workflows/test-e2e-pr-comment.yml b/.github/workflows/test-e2e-pr-comment.yml index 46a3161764..18b32e3e40 100644 --- a/.github/workflows/test-e2e-pr-comment.yml +++ b/.github/workflows/test-e2e-pr-comment.yml @@ -11,7 +11,7 @@ jobs: permissions: pull-requests: write name: Comment User Tip - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Download Pr Artifact uses: dawidd6/action-download-artifact@v2 diff --git a/.github/workflows/test-e2e-pr.yml b/.github/workflows/test-e2e-pr.yml index d3019ab06f..c730ed3394 100644 --- a/.github/workflows/test-e2e-pr.yml +++ b/.github/workflows/test-e2e-pr.yml @@ -11,7 +11,7 @@ concurrency: jobs: parse-components: name: Parse Affected Components - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: testComponents: ${{ steps.parseTitle.outputs.testComponents }} testclis: ${{ steps.parsetestCli.outputs.testClis }} @@ -82,7 +82,7 @@ jobs: name: PR E2E Test needs: parse-components - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: TEST_COMPONENTS: ${{ needs.parse-components.outputs.testComponents }} steps: diff --git a/.github/workflows/test-unit-pr.yml b/.github/workflows/test-unit-pr.yml index a2e9c7a48b..0255c90184 100644 --- a/.github/workflows/test-unit-pr.yml +++ b/.github/workflows/test-unit-pr.yml @@ -11,7 +11,7 @@ concurrency: jobs: parse-components: name: Parse Affected Components - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: testComponents: ${{ steps.parseTitle.outputs.testComponents }} steps: @@ -69,7 +69,7 @@ jobs: pr-test: name: PR Unit Test needs: parse-components - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: TEST_COMPONENTS: ${{ needs.parse-components.outputs.testComponents }} steps: