Skip to content

Commit

Permalink
fix: setup
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyclarke committed Jan 21, 2025
1 parent c7125ff commit 57c2e14
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 8 deletions.
43 changes: 35 additions & 8 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: ./results/
name: task-benchmark-results
path: ./results/run/
next:
name: 'Benchmark Next Project'
runs-on: ubuntu-latest
Expand All @@ -42,8 +42,8 @@ jobs:
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: ./results/
name: next-benchmark-results
path: ./results/next/
astro:
name: 'Benchmark Astro Project'
runs-on: ubuntu-latest
Expand All @@ -62,8 +62,8 @@ jobs:
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: ./results/
name: astro-benchmark-results
path: ./results/astro/
svelte:
name: 'Benchmark Svelte Project'
runs-on: ubuntu-latest
Expand All @@ -82,8 +82,8 @@ jobs:
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: ./results/
name: svelete-benchmark-results
path: ./results/svelte/
vue:
name: 'Benchmark Vue Project'
runs-on: ubuntu-latest
Expand All @@ -101,6 +101,33 @@ jobs:
bash ./scripts/install.sh vue
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: vue-benchmark-results
path: ./results/vue/

# make a chart with the results
chart:
name: 'Chart the Benchmark Results'
runs-on: ubuntu-latest
needs: [task, next, astro, svelte, vue]
steps:
- uses: actions/download-artifact@v4
with:
name: benchmark-results
path: ./results/
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Install & Setup Tools
run: |
bash ./scripts/setup.sh
- name: Generate Chart
run: |
bash ./scripts/chart.sh
- name: Upload Chart
uses: actions/upload-artifact@v4
with:
name: benchmark-chart
path: ./results/chart/

2 changes: 2 additions & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

# Environment Configuration
COREPACK_ENABLE_STRICT=0
COREPACK_ENABLE_AUTO_PIN=0
Expand Down

0 comments on commit 57c2e14

Please sign in to comment.