Skip to content

Commit

Permalink
feat(gh): Add timeout minutes for builds
Browse files Browse the repository at this point in the history
Signed-off-by: Kwong Tung Nan <[email protected]>
  • Loading branch information
kwongtn committed Jun 19, 2024
1 parent 797719b commit 41df014
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/firebase-hosting-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
cache: "npm"

- run: npm i -g angular-build-info && npm ci && npm run buildStaging
timeout-minutes: 30
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}

- name: Create Sentry release
uses: getsentry/action-release@v1
if: always()
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
Expand All @@ -37,6 +39,7 @@ jobs:
environment: staging

- uses: FirebaseExtended/action-hosting-deploy@v0
if: always()
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ROSAK_7223B }}"
Expand Down

0 comments on commit 41df014

Please sign in to comment.