Add badge to README and website #20
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
name: Check, Lint, Build, Test Docs Site | |
# run on all branches except main, where the deploy workflow runs | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Install deps | |
run: npm ci | |
- name: Check Types | |
run: npm run check | |
- name: Lint | |
run: npm run lint | |
- name: Build site | |
run: npm run build | |
- name: Run tests | |
run: npm run test:unit |