Skip to content

Add GitHub action configuration for CI #2

Add GitHub action configuration for CI

Add GitHub action configuration for CI #2

Workflow file for this run

name: tree-sitter
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm run dev-install
- run: npm test