Skip to content

Build

Build #766

Workflow file for this run

name: Build
on:
schedule:
- cron: '0 10 * * *'
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.74.0
- uses: actions/[email protected]
with:
node-version: 18.16.0
- name: Install Node.js dependencies
run: npm ci && npx tsc --version
- name: Generate interfaces.ts
run: |
npm run gen-dom-interfaces
- name: Build bindings
run: |
npm run bindings
- name: Run Tests
run: npm test