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:
parent
f93625eafe
commit
dbb2dd0e3e
1 changed files with 11 additions and 0 deletions
11
.github/workflows/benchmark.yml
vendored
11
.github/workflows/benchmark.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue