optimize svg loading, run tsc in lint to check types, don't include extra copies of the fonts in the assets folder #14
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: Build for PR | ||
on: | ||
pull-request: | ||
push: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "21" | ||
- name: Persist npm cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} | ||
- name: Build | ||
- run: npm ci | ||
- run: npm run build |