build(deps-dev): bump the development group across 1 directory with 7 updates #673
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: Tree Sitter | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
parser: ["datazinc", "eprime", "minizinc"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build the parser | |
run: npm run parser:${{matrix.parser}}:build --if-present | |
- name: Run parser tests | |
run: npm run parser:${{matrix.parser}}:test | |
- name: Check if generated file are up-to-date | |
run: git diff --exit-code | |
- name: Upload artifact | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: tree-sitter-${{matrix.parser}} | |
path: | | |
parsers/tree-sitter-${{matrix.parser}}/src | |
parsers/tree-sitter-${{matrix.parser}}/bindings/node |