Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
layout node
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ on:
- test/**
- bindings/**
- binding.gyp
- .github/**
pull_request:
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
- .github/**

concurrency:
group: ${{github.workflow}}-${{github.ref}}
Expand All @@ -37,7 +39,7 @@ jobs:
- name: Run tests
uses: tree-sitter/parser-test-action@v3
with:
test-node: true
test-node: false # broken because npm does not install tree-sitter for testing
test-parser: true
test-rust: true
test-python: true
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/regenerate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Regenerate parser

on:
pull_request:

permissions:
contents: write
pull-requests: write

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
regenerate:
uses: tree-sitter/workflows/.github/workflows/regenerate.yml@main
if: github.actor == 'dependabot[bot]'
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Publish packages
name: Create release

on:
push:
tags: ["*"]

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

permissions:
contents: write
id-token: write
attestations: write

jobs:
github:
release:
uses: tree-sitter/workflows/.github/workflows/release.yml@main
with:
generate: true
attestations: true
2 changes: 1 addition & 1 deletion src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading