Skip to content

github.event_name == 'pull_request' && "Test on chore: update dependency @codspeed/vitest-plugin to ^3.1.1 by renovate[bot]" || "Test on main" #389

github.event_name == 'pull_request' && "Test on chore: update dependency @codspeed/vitest-plugin to ^3.1.1 by renovate[bot]" || "Test on main"

github.event_name == 'pull_request' && "Test on chore: update dependency @codspeed/vitest-plugin to ^3.1.1 by renovate[bot]" || "Test on main" #389

Workflow file for this run

---
name: Codspeed Benchmarks
run-name: |-
github.event_name == 'pull_request' &&
"Test on ${{ github.event.pull_request.title }} by ${{ github.actor }}" ||
"Test on main"
permissions:
contents: read
packages: read
pull-requests: write
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- ".github/workflows/codspeed.yml"
- ".gitignore"
- "src/**"
- "test/**"
- "package.json"
- "vitest.config.ts"
- "yarn.lock"
jobs:
init__node:
if: |
!contains(github.event.pull_request.labels.*.name, 'renovate') && github.event.pull_request.title != 'Version Packages'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node
benchmarks:
runs-on: ubuntu-latest
needs:
- init__node
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: yarn bench
token: ${{ secrets.CODSPEED_TOKEN }}