Implement claim badge #31
Workflow file for this run
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
# Workflow name | |
name: 'Tests' | |
# Event for the workflow | |
# Triggers the workflow on push or pull request events but only for the development branch | |
on: | |
pull_request: | |
types: [opened, reopened, ready_for_review, synchronize] | |
branches: | |
- main | |
- staging | |
- develop | |
# List of jobs | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.1 | |
- name: Install modules | |
run: yarn | |
- name: Generate types | |
run: yarn types-gen | |
- name: Run jest unit tests | |
run: yarn test |