Skip to content

Commit

Permalink
feat: use self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Dec 18, 2024
1 parent 87f1c66 commit 2a11e5f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@ on:
workflow_dispatch:

jobs:
get-runner-labels:
name: Get Runner Labels
uses: ./.github/workflows/get-runner-labels.yml

benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
needs: [get-runner-labels]
runs-on: ${{ fromJSON(needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS) }}
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v3"
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
run: pnpm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: npm exec vitest bench
run: pnpm exec vitest bench
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit 2a11e5f

Please sign in to comment.