chore(deps): Bump esbuild from 0.23.0 to 0.24.1 (#238) #710
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: Test Against Regression | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- ready_for_review | |
- reopened | |
- synchronize | |
workflow_dispatch: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: ensure correct user | |
run: chown -R root /__w/cdktf-integration-serverless-example/ | |
- name: Install Dependencies | |
run: yarn | |
- name: Generate Provider Bindings | |
run: yarn get | |
- name: Test | |
run: yarn test | |
- name: Comment on failure | |
if: ${{ failure() && github.event.pull_request }} | |
env: | |
PR_ID: ${{ github.event.pull_request.number }} | |
GIT_BRANCH: ${{ github.event.pull_request.head.ref }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh pr comment $PR_ID --body "This test failure could mean that the snapshots need to be regenerated. Run \`git checkout $GIT_BRANCH\` followed by \`yarn test -- --passWithNoTests --updateSnapshot\`, and commit & push the results." |