Skip to content

Prepare for 0.20.3 release #246

Prepare for 0.20.3 release

Prepare for 0.20.3 release #246

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Display Node versions
run: |
node --version
npm --version
- name: Install dependencies
# use `update` instead of `install` to ensure we use the
# latest version regardless of the base image configuration
run: |
npm update
- name: Display Tree-sitter version
run: |
npx tree-sitter --version
- name: Build and check generated files
run: |
npm run build
script/check-generated-files
- name: Test corpus & parse examples
run: npm test