0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Build packages in the benchmark action (#4962)

* Just a test

* Run the build

* Add turbo stuff
This commit is contained in:
Matthew Phillips 2022-10-03 16:29:56 -04:00 committed by GitHub
parent f93625eafe
commit dbb2dd0e3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: |