0
Fork 0
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:
Emanuele Stoppa 2024-11-18 11:33:58 +00:00 committed by GitHub
parent 733d6c1601
commit cc03d907c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}