chore(ci): set timeout for each step (#6923)

This commit is contained in:
Anthony Fu 2022-08-25 16:59:59 +08:00 committed by GitHub
parent 44d4531780
commit dc62dde299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -48,6 +50,8 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -69,6 +73,8 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -93,6 +99,8 @@ jobs:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -125,6 +133,8 @@ jobs:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -151,6 +161,8 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16] node: [16]
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -189,6 +201,8 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
node: [16] node: [16]
timeout-minutes: 20
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3