Generated comparisons of outputs #1329
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: "Tests: Formatting, Typing, and Unit" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
- run: npm ci | |
- run: npm run test:formatting | |
- run: npm run test:typecheck | |
- run: npm run test:lint | |
- run: npm run test:build | |
- run: npm run test:jest | |
- run: npm run cover-all | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
path: main-branch | |
- run: | | |
cd main-branch | |
npm run cover-all | |
- run: npm run cover-all:compare -- --base main-branch/cover-all.json --compare cover-all.json |