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:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
|
FORCE_COLOR: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
benchmark:
|
benchmark:
|
||||||
if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && startsWith(github.event.comment.body, '!bench') }}
|
if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && startsWith(github.event.comment.body, '!bench') }}
|
||||||
|
@ -37,6 +42,9 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
id: benchmark-pr
|
id: benchmark-pr
|
||||||
run: |
|
run: |
|
||||||
|
@ -54,6 +62,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pnpm install
|
pnpm install
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
id: benchmark-main
|
id: benchmark-main
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue