Skip to content

.github: get CI working #2

.github: get CI working

.github: get CI working #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install
run: pnpm install
- name: ESLint
run: pnpm run lint
- name: Generate grammar
run: pnpm run generate
- name: Verify generation
uses: "chainguard-dev/actions/nodiff@main"
with:
fixup-command: "npm run generate"
- name: Test corpus
run: pnpm run test