From 6ae6f4c47318e8a348618b0e583e05231f635708 Mon Sep 17 00:00:00 2001 From: Antony David Date: Fri, 30 Aug 2024 15:04:42 +0200 Subject: [PATCH] fix(ci): add timeout for e2e tests --- .github/workflows/test-ubuntu.yml | 2 ++ .github/workflows/test-windows.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test-ubuntu.yml b/.github/workflows/test-ubuntu.yml index 10020fc248..a153a7a627 100644 --- a/.github/workflows/test-ubuntu.yml +++ b/.github/workflows/test-ubuntu.yml @@ -20,6 +20,7 @@ jobs: ut-mac: # run ut in MacOS, as SWC cases will fail in Ubuntu CI runs-on: macos-14 + timeout-minutes: 20 strategy: matrix: node-version: [18.x] @@ -63,6 +64,7 @@ jobs: # ======== e2e ======== e2e-ubuntu: runs-on: ubuntu-latest + timeout-minutes: 20 strategy: matrix: node-version: [18.x] diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index f700387eaa..76ff31bd30 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -19,6 +19,7 @@ jobs: # ======== ut ======== ut-windows: runs-on: windows-latest + timeout-minutes: 20 strategy: matrix: node-version: [18.x] @@ -67,6 +68,7 @@ jobs: # # ======== e2e ======== e2e-windows: runs-on: windows-latest + timeout-minutes: 20 strategy: matrix: node-version: [18.x]