Skip to content

CI

CI #1832

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
- cron: '00 01 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['18.x', '20.x']
steps:
- uses: actions/checkout@v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install wasm-pack
run: npm install -g wasm-pack
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true