Skip to content

feat: Add Paseri to benchmarks #7748

feat: Add Paseri to benchmarks

feat: Add Paseri to benchmarks #7748

Workflow file for this run

name: Pull Requests
env:
CI: 'true'
on:
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
node-version:
- 16.x
- 18.x
- 19.x
- 20.x
- 21.x
- 22.x
- 23.x
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: lint
run: npm run lint
- name: test build
run: npm run test:build
- name: test
run: npm test
build-bun:
needs: build
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
bun-version:
- 1.1.36
steps:
- uses: actions/checkout@v4
- name: Set up Bun ${{ matrix.bun-version }}
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun-version }}
- name: install
run: bun install
- name: lint
run: bun run lint
- name: test build
run: bun run test:build
- name: test
run: bun test