difftastic/vendored_parsers/tree-sitter-devicetree/.github/workflows/ci.yaml

29 lines
622 B
YAML

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [lts/*]
steps:
# https://github.com/nodejs/node-gyp/issues/2869
- name: Install distutils
run: python3 -m pip install setuptools
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test