Skip to content

feat: add overflow on trailers #118

feat: add overflow on trailers

feat: add overflow on trailers #118

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '**'
push:
branches:
- 'main'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run validation tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '20.10.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Run tree-sitter tests
run: npm test
- name: Ensure generated parser files are up-to-date
# On Windows and Macos, tree-sitter generate results in a diff, not sure why
if: runner.os != 'Windows' && runner.os != 'macOS'
run: |
git status
test -z "$(git status --porcelain)"