github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/examples/timeouts-3.yaml (about)

     1  # https://github.com/bahmutov/cypress-gh-action-example/blob/master/.github/workflows/timeouts.yml
     2  
     3  name: timeouts
     4  
     5  # on: [push]
     6  
     7  jobs:
     8    cypress-run:
     9      runs-on: ubuntu-20.04
    10      steps:
    11        - name: Checkout
    12          uses: actions/checkout@v2
    13        - name: Cypress run
    14          uses: cypress-io/github-action@v2
    15          # individual step timeout
    16          # maximum workflow time is 35 days https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits
    17          timeout-minutes: 48960
    18          with:
    19            command: npm run expect -- --env lastName=Smith
    20          env:
    21            CYPRESS_firstName: Joe
    22        - name: example
    23          run: echo example
    24          timeout-minutes: 32