Add routeEnum with validation and enhance error handling in BaseService [Twitter Gem TeamCity Packagist MozillaObservatory HexPm Greasyfork] #13224
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| push: | |
| branches-ignore: | |
| - 'gh-pages' | |
| - 'dependabot/**' | |
| jobs: | |
| test-integration: | |
| runs-on: ubuntu-latest | |
| env: | |
| PAT_EXISTS: ${{ secrets.GH_PAT != '' }} | |
| services: | |
| postgres: | |
| image: postgres | |
| env: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: ci_test | |
| options: >- | |
| --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
| ports: | |
| - 5432:5432 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| with: | |
| node-version: 22 | |
| - name: Integration Tests (with PAT) | |
| if: ${{ env.PAT_EXISTS == 'true' }} | |
| uses: ./.github/actions/integration-tests | |
| with: | |
| github-token: '${{ secrets.GH_PAT }}' | |
| - name: Integration Tests (with workflow token) | |
| if: ${{ env.PAT_EXISTS == 'false' }} | |
| uses: ./.github/actions/integration-tests | |
| with: | |
| github-token: '${{ secrets.GITHUB_TOKEN }}' |