Skip to content

Commit

Permalink
ci: timeout builds after 20 minutes (#1534)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurschreiber authored Apr 7, 2023
1 parent f8086e8 commit 18443f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
lint:
name: Linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -60,8 +61,8 @@ jobs:

test:
name: SQL Server Linux / Node.js ${{ matrix.node-version }}

runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
matrix:
Expand Down Expand Up @@ -178,8 +179,8 @@ jobs:

test-windows:
name: SQL Server Windows / Node.js ${{ matrix.node-version }}

runs-on: windows-2022
timeout-minutes: 20

strategy:
matrix:
Expand Down Expand Up @@ -343,6 +344,7 @@ jobs:
azure-sql-auth:
name: Azure SQL Server / Node.js 16.x
runs-on: ubuntu-latest
timeout-minutes: 20

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
Expand Down Expand Up @@ -396,6 +398,7 @@ jobs:
azure-ad-auth:
name: Azure SQL Server / Node.js 16.x
runs-on: ubuntu-latest
timeout-minutes: 20

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
Expand Down Expand Up @@ -454,6 +457,7 @@ jobs:
azure-ad-service-principal-auth:
name: Azure SQL Server / Node.js 16.x
runs-on: ubuntu-latest
timeout-minutes: 20

# Only run these tests if we have access to the secrets
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
Expand Down

0 comments on commit 18443f3

Please sign in to comment.