Skip to content

Commit

Permalink
.github: get CI working
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Jan 9, 2024
1 parent fc9f3f6 commit caeb97d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/lint.yaml

This file was deleted.

20 changes: 14 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,30 @@ name: Test
on:
push:
branches:
- master
- 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
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install
run: pnpm install
- name: ESLint
run: pnpm run lint
- name: Generate grammar
run: npm run generate
run: pnpm run generate
- name: Verify generation
uses: "chainguard-dev/actions/nodiff@main"
with:
fixup-command: "npm run generate"
- name: Test corpus
run: npm run test
run: pnpm run test

0 comments on commit caeb97d

Please sign in to comment.