Skip to content

refactor: split webhook accepting and queue dispatching logic #913

refactor: split webhook accepting and queue dispatching logic

refactor: split webhook accepting and queue dispatching logic #913

Workflow file for this run

name: Build lambdas
on:
pull_request:
branches:
- main
paths:
- 'lambdas/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
container:
image: node:${{ matrix.node }}
defaults:
run:
working-directory: ./lambdas
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- 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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
if: ${{ failure() }}
with:
name: coverage-reports
path: ./**/coverage
retention-days: 5