fix(lambda): bump the aws-powertools group in /lambdas with 4 updates #1061
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: Build lambdas | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'lambdas/**' | |
- '.github/workflows/lambda.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [22] | |
container: | |
image: node:${{ matrix.node }} | |
defaults: | |
run: | |
working-directory: ./lambdas | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run prettier | |
run: yarn format-check | |
- name: Run linter | |
run: yarn lint | |
- name: Run tests | |
id: test | |
run: yarn test | |
- name: Build distribution | |
run: yarn build | |
- name: Upload coverage report | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
if: ${{ failure() }} | |
with: | |
name: coverage-reports | |
path: ./**/coverage | |
retention-days: 5 |