Skip to content

chore(3.0): simplify and split and create helpers functions for bench… #34

chore(3.0): simplify and split and create helpers functions for bench…

chore(3.0): simplify and split and create helpers functions for bench… #34

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Check linter
run: yarn check
- name: Check typing
run: yarn tsc -p tsconfig.lib.json --noEmit
- name: Run tests with coverage
run: yarn coverage
env:
CI: true
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: node-${{ matrix.node-version }}