Skip to content

Add codspeed continuous benchmarking for CI #250

Add codspeed continuous benchmarking for CI

Add codspeed continuous benchmarking for CI #250

Workflow file for this run

name: "Test"
on:
push:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Test
shell: bash
run: pnpm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Lint
shell: bash
run: pnpm lint
bench:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Run benchmarks
uses: CodSpeedHQ/action@v1
with:
run: pnpm x bench/all.ts
token: ${{ secrets.CODSPEED_TOKEN }}
build-js:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup-test-env
- name: Build
shell: bash
run: pnpm build