Skip to content

build: regenerate parser [dependabot skip] #57

build: regenerate parser [dependabot skip]

build: regenerate parser [dependabot skip] #57

Workflow file for this run

name: CI
on:
push:
branches: [master]
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
pull_request:
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: true
- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v2
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: ${{vars.NODE_VERSION}}
- name: Install dependencies
run: npm ci
- name: Run tests
uses: tree-sitter/parser-test-action@v2
with:
test-node: true
test-rust: true
test-python: true
node-version: ${{vars.NODE_VERSION}}
python-version: ${{vars.PYTHON_VERSION}}
- name: Parse examples
uses: tree-sitter/parse-action@v4
with:
files: examples/examples/**/*.ino