Skip to content

optimize svg loading, run tsc in lint to check types, don't include extra copies of the fonts in the assets folder #14

optimize svg loading, run tsc in lint to check types, don't include extra copies of the fonts in the assets folder

optimize svg loading, run tsc in lint to check types, don't include extra copies of the fonts in the assets folder #14

Workflow file for this run

name: Build for PR

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

`pull-request` is not a valid event name
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