Skip to content

Commit

Permalink
ci: filter paths of when running the benchmark action (#12470)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Nov 18, 2024
1 parent 733d6c1 commit cc03d90
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/continuous_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ on:
pull_request:
branches:
- main
paths:
- 'packages/astro/src/**/*.ts'
- 'benchmark/**'
push:
branches:
- main
paths:
- 'packages/astro/src/**/*.ts'
- 'benchmark/**'

env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
FORCE_COLOR: true
CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }}
CODSPEED: true

jobs:
Expand Down Expand Up @@ -46,4 +51,5 @@ jobs:
timeout-minutes: 30
with:
run: pnpm benchmark codspeed
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit cc03d90

Please sign in to comment.