Skip to content

Commit

Permalink
Run codspeed only for next-yak (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon authored Feb 6, 2024
1 parent bcdafd3 commit ecbf85e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ name: codspeed-benchmarks
on:
push:
branches: [ "main" ]
paths:
- 'packages/next-yak/**'
- '.github/workflows/codspeed.yml'
pull_request:
branches: [ "main" ]
paths:
- 'packages/next-yak/**'
- '.github/workflows/codspeed.yml'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -42,4 +48,4 @@ jobs:
with:
working-directory: "packages/benchmark"
run: NODE_ENV=production node --enable-source-maps ./codspeed/dist/index.bench.mjs
token: ${{ secrets.CODSPEED_TOKEN }}
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit ecbf85e

Please sign in to comment.