Skip to content

Add Node and pnpm to CI #351

Add Node and pnpm to CI

Add Node and pnpm to CI #351

Workflow file for this run

name: Tests
on:
push:
branches:
- "**"
tags-ignore:
- "v*"
pull_request:
branches:
- "**"
jobs:
tests:
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
RUST_LIB_BACKTRACE: 1
TOKIO_WORKER_THREADS: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: lts
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Run tests
run: cargo test --features dev -- --test-threads=1
- name: Run lints
run: cargo clippy -- -D warnings