Upgrade ESLint to v10 and adopt @eslint-react #2092
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: Build and Deploy to Dev | |
| on: | |
| pull_request: | |
| branches: [develop, main] | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: [develop, main] | |
| concurrency: | |
| group: deploy-dev-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| run-tests: | |
| uses: ./.github/workflows/run_tests.yml | |
| run-e2e-tests: | |
| uses: ./.github/workflows/e2e_tests.yml | |
| build-dev-container: | |
| uses: ./.github/workflows/build_docker.yml | |
| secrets: inherit | |
| deploy-dev-container: | |
| needs: | |
| - run-tests | |
| - run-e2e-tests | |
| - build-dev-container | |
| # Skip the Dev deploy for renovate/dependabot PRs: the Dev environment | |
| # requires reviewer approval, and these PRs sit in "waiting" until GitHub's | |
| # 30-day approval window expires and auto-fails the job — adding red checks | |
| # to every dependency PR. Human PRs still trigger the deploy as usual. | |
| if: github.event_name == 'push' || (github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]') | |
| uses: ./.github/workflows/deploy_docker.yml | |
| secrets: inherit | |
| with: | |
| environment: Dev | |
| server_image_tag: "${{ needs.build-dev-container.outputs.server_image_tag }}" | |
| client_image_tag: "${{ needs.build-dev-container.outputs.client_image_tag }}" |