CI #156
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
test: | |
name: test / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macOS-latest, ubuntu-latest] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install emscripten | |
uses: mymindstorm/setup-emsdk@v14 | |
with: | |
version: '3.1.47' | |
- name: Build tree-sitter-haskell | |
run: npm install | |
- name: Run tests | |
run: npm test | |
- name: Parse examples | |
run: npm run libs | |
- name: Parse examples with web binding | |
run: npm run libs-wasm |