Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

conditional postinstall #3

conditional postinstall

conditional postinstall #3

Workflow file for this run

name: Build and Test Node Addon
on: [push]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build package
run: npm run build-release
- name: Run test
run: npm start