Skip to content

Add &| and 2>| as pipe operators (#21) #52

Add &| and 2>| as pipe operators (#21)

Add &| and 2>| as pipe operators (#21) #52

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm i
- name: Init Tree-Sitter config
run: |
mkdir ~/.tree-sitter
echo "{\"parser-directories\": [\"$(realpath ../)\"] }" > ~/.tree-sitter/config.json
- name: Build
run: npm run build
- name: Run parser tests
run: npm run test
- name: Run parser against examples
run: npm run test:examples