summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-10-03 16:29:56 -0400
committerGravatar GitHub <noreply@github.com> 2022-10-03 16:29:56 -0400
commitdbb2dd0e3e1825ab76fa672ebdf7312b182750a8 (patch)
tree572f51ce74d0323b42be3bf14ac2193ed5697648
parentf93625eafe965e5fcf8916e137b19c6e6a31dac4 (diff)
downloadastro-dbb2dd0e3e1825ab76fa672ebdf7312b182750a8.tar.gz
astro-dbb2dd0e3e1825ab76fa672ebdf7312b182750a8.tar.zst
astro-dbb2dd0e3e1825ab76fa672ebdf7312b182750a8.zip
Build packages in the benchmark action (#4962)
* Just a test * Run the build * Add turbo stuff
-rw-r--r--.github/workflows/benchmark.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 56bbb45b9..57458d1a1 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -4,6 +4,11 @@ on:
issue_comment:
types: [created]
+env:
+ TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
+ TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
+ FORCE_COLOR: true
+
jobs:
benchmark:
if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && startsWith(github.event.comment.body, '!bench') }}
@@ -37,6 +42,9 @@ jobs:
- name: Install dependencies
run: pnpm install
+ - name: Build Packages
+ run: pnpm run build
+
- name: Run benchmark
id: benchmark-pr
run: |
@@ -54,6 +62,9 @@ jobs:
run: |
pnpm install
+ - name: Build Packages
+ run: pnpm run build
+
- name: Run benchmark
id: benchmark-main
run: |