mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
ci: filter paths of when running the benchmark action (#12470)
This commit is contained in:
parent
733d6c1601
commit
cc03d907c1
1 changed files with 7 additions and 1 deletions
8
.github/workflows/continuous_benchmark.yml
vendored
8
.github/workflows/continuous_benchmark.yml
vendored
|
@ -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:
|
||||
|
@ -46,4 +51,5 @@ jobs:
|
|||
timeout-minutes: 30
|
||||
with:
|
||||
run: pnpm benchmark codspeed
|
||||
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue