Skip to content

Commit 09c0f34

Browse files
committed
ci: update workflows
1 parent b70345a commit 09c0f34

File tree

5 files changed

+27707
-24837
lines changed

5 files changed

+27707
-24837
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ on:
44
push:
55
branches: [split_parser]
66
pull_request:
7+
branches: [split_parser]
78
workflow_dispatch:
89

10+
concurrency:
11+
group: ${{github.workflow}}-${{github.ref}}
12+
cancel-in-progress: true
13+
914
jobs:
1015
test:
1116
name: Test parsers
@@ -16,7 +21,7 @@ jobs:
1621
os: [ubuntu-latest, windows-latest, macos-latest]
1722
steps:
1823
- name: Checkout repository
19-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2025

2126
- name: Set up tree-sitter
2227
uses: tree-sitter/setup-action@v2
@@ -34,9 +39,11 @@ jobs:
3439
ALL_EXTENSIONS: 1
3540

3641
- name: Run tests
37-
uses: tree-sitter/parser-test-action@v2
42+
uses: tree-sitter/parser-test-action@v3
3843
with:
3944
test-parser-cmd: node scripts/test.js
45+
env:
46+
ALL_EXTENSIONS: 1
4047

4148
- name: Rebuild with default extensions
4249
run: node scripts/build.js

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ name: Publish package
33
on:
44
push:
55
tags: ["*"]
6+
workflow_dispatch:
67

78
jobs:
8-
github:
9-
uses: tree-sitter/workflows/.github/workflows/release.yml@main
10-
permissions:
11-
contents: write
12-
id-token: write
139
npm:
1410
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1511
with:

tree-sitter-markdown-inline/src/grammar.json

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tree-sitter-markdown-inline/src/node-types.json

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)