Skip to content

ci: add publish workflow #8

ci: add publish workflow

ci: add publish workflow #8

Workflow file for this run

name: Test grammar
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
node:
name: Test Node library
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout repository
- uses: actions/setup-node@v4
name: Set up NodeJS
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
rust:
name: Test Rust library
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Run tests
run: cargo test