diff options
author | 2022-10-03 16:29:56 -0400 | |
---|---|---|
committer | 2022-10-03 16:29:56 -0400 | |
commit | dbb2dd0e3e1825ab76fa672ebdf7312b182750a8 (patch) | |
tree | 572f51ce74d0323b42be3bf14ac2193ed5697648 | |
parent | f93625eafe965e5fcf8916e137b19c6e6a31dac4 (diff) | |
download | astro-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.yml | 11 |
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: | |