Skip to content

chore(release): v5.1.3 #5

chore(release): v5.1.3

chore(release): v5.1.3 #5

Workflow file for this run

name: Test Suite
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18.12.1, 20.0.0, 22.0.0]
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: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install dependencies
run: pnpm i
- name: Run tests with coverage
run: pnpm run test --coverage
- name: Upload coverage to Codecov
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node-version == '22.0.0' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}