Skip to content

docs: add CI badge

docs: add CI badge #23

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
environment: actions
strategy:
matrix:
node-version: [16.x, 18.x, 19.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run the tests
run: pnpm test