chore(deps-dev): bump eslint-plugin-jest from 28.14.0 to 29.12.1 in /packages/@aws-cdk/user-input-gen #4168
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
| # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
| name: build | |
| on: | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| merge_group: {} | |
| jobs: | |
| build: | |
| runs-on: aws-cdk_ubuntu-latest_16-core | |
| permissions: | |
| contents: write | |
| outputs: | |
| self_mutation_happened: ${{ steps.self_mutation.outputs.self_mutation_happened }} | |
| env: | |
| CI: "true" | |
| NX_SKIP_NX_CACHE: "true" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: lts/* | |
| - name: Install dependencies | |
| run: yarn install --check-files | |
| - name: Set git identity | |
| run: |- | |
| git config --global user.name "aws-cdk-cli" | |
| git config --global user.email "noreply@example.com" | |
| - name: build | |
| run: npx projen build | |
| - name: Find mutations | |
| id: self_mutation | |
| run: |- | |
| git add . | |
| git diff --staged --patch --exit-code > repo.patch || echo "self_mutation_happened=true" >> $GITHUB_OUTPUT | |
| shell: bash | |
| working-directory: ./ | |
| - name: Upload patch | |
| if: steps.self_mutation.outputs.self_mutation_happened | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: repo.patch | |
| path: repo.patch | |
| overwrite: true | |
| - name: Fail build on mutation | |
| if: steps.self_mutation.outputs.self_mutation_happened | |
| run: |- | |
| echo "::error::Files were changed during build (see build log). If this was triggered from a fork, you will need to update your branch." | |
| cat repo.patch | |
| exit 1 |