Files
dependabot[bot] 8bffc40884 Bump CodSpeedHQ/action from 5.6.0 to 5.6.3
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 5.6.0 to 5.6.3.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codspeedhq/action/compare/78102a468f96d8e0ccb92d0ec49425753fc42062...af75f77f17a054769abefaa42fe8dc2975469b5f)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: 5.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-10 12:12:43 +00:00

60 lines
1.5 KiB
YAML

name: CodSpeed benchmarks
on:
push:
paths:
- "external/builder/**"
- "package-lock.json"
- "src/**"
- "test/benchmarks/**"
- "web/**"
- ".github/workflows/codspeed.yml"
branches:
- master
pull_request:
paths:
- "external/builder/**"
- "package-lock.json"
- "src/**"
- "test/benchmarks/**"
- "web/**"
- ".github/workflows/codspeed.yml"
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro-arm64-graviton-ubuntu-22-04
permissions:
contents: read
id-token: write # Required for OIDC authentication with CodSpeed
strategy:
fail-fast: false
matrix:
node-version: [lts/*]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run benchmarks
uses: CodSpeedHQ/action@af75f77f17a054769abefaa42fe8dc2975469b5f # v5.6.3
with:
mode: walltime
run: npx vitest bench --run --config test/benchmarks/vitest.config.mjs