Skip to content

Workflow file for this run

name: validate

Check failure on line 1 in .github/workflows/validate.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/validate.yaml

Invalid workflow file

`pull_requests` is not a valid event name
on:
push:
branches:
- master
pull_requests:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js latest
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install node dependencies
run: |
npm i -g pnpm
pnpm i
- name: Run lint
run: |
pnpm run lint
- name: Type check
run: |
pnpm run check
- name: Validate JSON files
run: |
pnpm run validate