Prepare for 0.20.3 release #246
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: 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 |