19386 checklist template #2637
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
setup: | |
name: Setup and Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Install Npm Dependencies | |
run: | | |
yarn set version 3.6.1 | |
HUSKY=0 yarn install --immutable | |
- name: Check TypeScript | |
run: yarn test:types | |
- name: Run Lint | |
run: yarn lint | |
- name: Check format | |
run: yarn test:format | |
- name: Jest tests | |
run: yarn test:ci | |
- name: Example tests | |
run: yarn test:examples |