add buttons to rate logs (#4629) #1140
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: Lambda Webhook | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- .github/workflows/lambda-webhook.yml | |
- "terraform-aws-github-runner/modules/webhook/lambdas/webhook/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: node:14 | |
defaults: | |
run: | |
working-directory: terraform-aws-github-runner/modules/webhook/lambdas/webhook | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: yarn install | |
- name: Run linter | |
run: yarn lint | |
- name: Format Check | |
run: yarn format-check | |
- name: Run tests | |
run: yarn test | |
- name: Build distribution | |
run: yarn build |