fix(deps): update dependency @bifravst/aws-cdk-lambda-helpers to v4.0.80 #3299
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: Test and Release | |
| on: push | |
| permissions: | |
| contents: write | |
| issues: write | |
| id-token: write | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24.x" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci --no-audit | |
| - name: Check typescript | |
| run: npx tsgo | |
| - name: Check source code with eslint | |
| run: npx eslint . | |
| - name: Check if source code is properly formatted | |
| run: npx prettier -c ./ | |
| - run: npm test | |
| - name: Compile | |
| run: npm run prepublishOnly | |
| - name: Configure AWS credentials | |
| uses: aws-actions/configure-aws-credentials@v5 | |
| with: | |
| # The role is set up via https://github.com/bifravst/ci | |
| # secrets.AWS_ACCOUNT_ID_CI is an organization secret | |
| role-to-assume: | | |
| arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID_CI }}:role/${{ github.repository_owner }}-ci-${{ github.event.repository.name }} | |
| # vars.AWS_REGION_CI is an organization variable | |
| aws-region: ${{ vars.AWS_REGION_CI }} | |
| - name: Deploy | |
| env: | |
| NODE_ARGS: "--no-warnings --experimental-transform-types" | |
| run: node ./cdk/http-api-mock.ts | |
| - name: End-to-end tests | |
| env: | |
| NODE_ARGS: "--no-warnings --experimental-transform-types" | |
| run: node --test e2e.spec.ts | |
| - name: Destroy | |
| env: | |
| NODE_ARGS: "--no-warnings --experimental-transform-types" | |
| run: node ./cdk/http-api-mock.ts --destroy | |
| - name: Semantic release | |
| run: npx semantic-release |