Skip to content

Add Github action when push to main #91

Add Github action when push to main

Add Github action when push to main #91

Workflow file for this run

name: PR checks
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 22
- run: npm i
- run: npm run build
- run: npm test