feat: restructure repository for new tree-sitter versions, add flake.nix #96
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
name: build | |
on: | |
push: | |
pull_request: | |
branches: | |
- '**:**' # For forks | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: '12' | |
- name: Display Node versions | |
run: | | |
node --version | |
npm --version | |
- name: Install dependencies | |
run: npm install | |
- name: Test corpus | |
run: npm test |