Skip to content

.github: get CI working #1

.github: get CI working

.github: get CI working #1

Workflow file for this run

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