-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Ryall
committed
Aug 5, 2024
1 parent
384c55e
commit 01c0da2
Showing
2 changed files
with
14 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,20 @@ on: | |
- '**:**' | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v27 | ||
- run: nix flake check | ||
|
||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '18' | ||
|
||
- name: Display Node versions | ||
run: | | ||
node --version | ||
npm --version | ||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Test corpus & parse examples | ||
run: npm test | ||
- uses: cachix/install-nix-action@v27 | ||
- run: nix build | ||
- run: nix develop -c sh -c 'tree-sitter generate --no-bindings && tree-sitter test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters