chore: npm audit fix for brace-expansion #2436
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: 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@0c5c351ec34f813b37ecb5c3413e49ccab534c58 | |
| with: | |
| all-files: true | |
| unit-tests: | |
| name: Run tests | |
| uses: ./.github/workflows/run-unit-tests.yml | |
| with: | |
| coverage-report: true | |
| 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 }} | |
| 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 }} |