Skip to content

Added Codesandbox example to README #9

Added Codesandbox example to README

Added Codesandbox example to README #9

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
# Runs all steps on the VM
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout Code Repository
uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- run: pnpm test