Skip to content

add badges to README #4

add badges to README

add badges to README #4

Workflow file for this run

name: CI - Test Suite
on:
pull_request:
branches:
- '**'
jobs:
test:
name: Test on ${{ matrix.os }} with Node.js ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18, 20, 22]
include:
- node-version: '22'
os: ubuntu-latest
coverage: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Run tests
run: bun run test
- name: Upload coverage
uses: coverallsapp/github-action@v2
if: ${{ matrix.coverage }}
run: bun run test:cov
with:
github-token: ${{ secrets.GITHUB_TOKEN }}