Skip to content

Commit

Permalink
Add workflow to run test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Hubro committed Jul 19, 2023
1 parent f1142bf commit 19c1655
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tree-sitter tests

on: [ push ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use NodeJS
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test

1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.14

0 comments on commit 19c1655

Please sign in to comment.