23 lines
463 B
YAML
23 lines
463 B
YAML
|
name: Build & Test
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
jobs:
|
||
|
build-and-test:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [windows-latest, ubuntu-latest, macos-latest]
|
||
|
fail-fast: false
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: 14
|
||
|
- run: npm install
|
||
|
- run: node_modules/.bin/tree-sitter test
|