From 7e7cc1ac28f8b250c5aa352e804f3763182ee0c5 Mon Sep 17 00:00:00 2001 From: Serhii Shymkiv Date: Tue, 19 Mar 2024 15:46:46 +0200 Subject: [PATCH] Fix benchmarks run on Windows. --- .github/workflows/benchmarks.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 94a4cf24b1..f1b0aaa451 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -15,7 +15,7 @@ jobs: fail-fast: true matrix: node: [20] - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout repository @@ -37,6 +37,5 @@ jobs: git submodule update --init --recursive npm ci npm run build - bash run-ci-benchmarks.sh + node --enable-source-maps --stack-trace-limit=1000 src/build/run.js benchmark/runners/with-cloud-history.ts --bundle >>benchmarks.log 2>&1 cat benchmarks.log >> $GITHUB_STEP_SUMMARY - shell: bash