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:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- 'packages/astro/src/**/*.ts'
|
||||||
|
- 'benchmark/**'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- 'packages/astro/src/**/*.ts'
|
||||||
|
- 'benchmark/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
FORCE_COLOR: true
|
FORCE_COLOR: true
|
||||||
CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }}
|
|
||||||
CODSPEED: true
|
CODSPEED: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -46,4 +51,5 @@ jobs:
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
with:
|
with:
|
||||||
run: pnpm benchmark codspeed
|
run: pnpm benchmark codspeed
|
||||||
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue