mirror of https://github.com/Wilfred/difftastic/
26 lines
550 B
YAML
26 lines
550 B
YAML
name: Check compilation on tree-sitter 0.19
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js 16.x
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
cache: 'npm'
|
|
- run: cp package-json-old-tree-sitter.json package.json
|
|
- run: npm install
|
|
# corpus tests fail and highlight tests are extremely slow; just remove them!
|
|
- run: rm -r test
|
|
- run: npx tree-sitter test
|