BAU: Bump the eslint group across 1 directory with 4 updates #1485
Workflow file for this run
This file contains 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: Check PR | |
on: pull_request | |
permissions: {} | |
jobs: | |
pre-commit: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
concurrency: | |
group: pre-commit-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
steps: | |
- name: Run pre-commit | |
uses: govuk-one-login/github-actions/code-quality/run-pre-commit@e6b6ed890b35904e1be79f7f35ffec983fa4d9db | |
with: | |
all-files: true | |
unit-tests: | |
name: Run tests | |
uses: ./.github/workflows/run-unit-tests.yml | |
with: | |
coverage-report: true | |
stepfunction-mocked-tests: | |
name: Run tests | |
uses: ./.github/workflows/run-sfn-mocked-tests.yml | |
deploy: | |
name: Preview | |
uses: ./.github/workflows/deploy-branch.yml | |
permissions: | |
id-token: write | |
contents: read | |
pact-tests: | |
name: Run tests | |
needs: deploy | |
uses: ./.github/workflows/run-pact-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} | |
secrets: | |
pact-broker-host: ${{ secrets.PACT_BROKER_HOST }} | |
pact-broker-username: ${{ secrets.PACT_BROKER_USERNAME }} | |
pact-broker-password: ${{ secrets.PACT_BROKER_PASSWORD }} | |
stepfunction-aws-tests: | |
name: Run tests | |
needs: deploy | |
uses: ./.github/workflows/run-sfn-aws-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} | |
apigw-tests: | |
name: Run tests | |
needs: deploy | |
uses: ./.github/workflows/run-apigw-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} | |
eventbridge-abandon-tests: | |
name: Run tests | |
needs: [deploy, apigw-tests] | |
uses: ./.github/workflows/run-evn-abn-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} | |
eventbridge-nino-check-tests: | |
name: Run tests | |
needs: [deploy, eventbridge-abandon-tests ] | |
uses: ./.github/workflows/run-evn-nino-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} | |
eventbridge-issue-credential-check-tests: | |
name: Run tests | |
needs: [deploy, eventbridge-nino-check-tests ] | |
uses: ./.github/workflows/run-evn-cred-tests.yml | |
permissions: | |
id-token: write | |
contents: read | |
with: | |
stack-name: ${{ needs.deploy.outputs.stack-name }} | |
aws-region: ${{ needs.deploy.outputs.aws-region }} |