Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Frodan committed Jul 8, 2024
1 parent fa482b4 commit 36e14a9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Test grammar

on:
push:
branches: [ main ]
branches: [ main, workflow-test ]
pull_request:
branches: [ main ]
branches: [ main, workflow-test ]

jobs:
build:
Expand All @@ -24,7 +24,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install tree-sitter-cli -g

- name: Generate tree-sitter parser
run: tree-sitter generate
- run: test
- run: tree-sitter test

- name: Running tests
run: tree-sitter test

0 comments on commit 36e14a9

Please sign in to comment.