From dc62dde299cd0dd819bceb9ceb8fc4a314f3f670 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 25 Aug 2022 16:59:59 +0800 Subject: [PATCH] chore(ci): set timeout for each step (#6923) --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e23dc8d970..f5b83801ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,8 @@ jobs: os: [ubuntu-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -48,6 +50,8 @@ jobs: os: [ubuntu-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -69,6 +73,8 @@ jobs: os: [ubuntu-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -93,6 +99,8 @@ jobs: os: [ubuntu-latest, windows-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -125,6 +133,8 @@ jobs: os: [ubuntu-latest, windows-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -151,6 +161,8 @@ jobs: os: [ubuntu-latest] node: [16] + timeout-minutes: 10 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -189,6 +201,8 @@ jobs: os: [ubuntu-latest] node: [16] + timeout-minutes: 20 + steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3