Skip to content

Add testing & fix type error #153

Add testing & fix type error

Add testing & fix type error #153

Workflow file for this run

name: Check build & lint errors

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

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

`pull-request` is not a valid event name
on:
pull-request:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install node@20
uses: actions/setup-node@v4.0.2
- name: Install dependencies
run: npm install
- name: Test build
run: npm run build
- name: Test Lint
run: npm run lint