Skip to content

Commit

Permalink
Enable step debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mad-Kat committed Jul 16, 2024
1 parent bca864b commit e361dfc
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@ name: codspeed-benchmarks

on:
push:
branches: [ "main" ]
branches: ["main"]
paths:
- 'packages/next-yak/**'
- 'packages/benchmark/**'
- '.github/workflows/codspeed.yml'
- "packages/next-yak/**"
- "packages/benchmark/**"
- ".github/workflows/codspeed.yml"
pull_request:
branches: [ "main" ]
branches: ["main"]
paths:
- 'packages/next-yak/**'
- 'packages/benchmark/**'
- '.github/workflows/codspeed.yml'
- "packages/next-yak/**"
- "packages/benchmark/**"
- ".github/workflows/codspeed.yml"
workflow_dispatch:

# enable step debug logging
env:
ACTIONS_STEP_DEBUG: true

jobs:
benchmarks:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,9 +52,9 @@ jobs:
- name: Build Yak
run: pnpm run build
- name: Build benchmark suite
run: cd packages/benchmark && pnpm run codspeed
run: cd packages/benchmark && pnpm run codspeed
- name: Run benchmarks
uses: CodSpeedHQ/action@v1
uses: CodSpeedHQ/action@v2
with:
working-directory: "packages/benchmark"
run: NODE_ENV=production node --enable-source-maps ./codspeed/dist/index.bench.mjs
Expand Down

0 comments on commit e361dfc

Please sign in to comment.