Update publint #25
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 | |
strategy: | |
matrix: | |
version: [18, 20] | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
- uses: actions/checkout@v4 | |
- 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 |