Skip to content

Require passing tests before publishing to npm #117

Require passing tests before publishing to npm

Require passing tests before publishing to npm #117

Workflow file for this run

name: Rust Unit Tests
on:
push:
branches:
- main # Change this to your default branch if it's not 'main'
pull_request:
branches:
- main # Change this to your default branch if it's not 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable # You can specify a version like '1.60.0' or 'nightly'
override: true
- name: Run tests
run: cargo test