Skip to content

Commit

Permalink
Reapply "ci(ga): set benchmark artifacts cross PRs"
Browse files Browse the repository at this point in the history
This reverts commit e00721d.
  • Loading branch information
Dwlad90 committed Jan 7, 2025
1 parent 411ead3 commit e60199f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ jobs:
uses: actions/cache@v4
with:
path: ./cache
key: ${{ matrix.settings.target }}-benchmark
key: ${{ matrix.settings.target }}-benchmark-${{ github.ref }}
restore-keys: |
${{ matrix.settings.target }}-benchmark-
- name: Run benchmarks
run: pnpm run --filter @stylexswc/rs-compiler bench
- name: Store benchmark result
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ jobs:
uses: actions/cache@v4
with:
path: ./cache
key: ${{ matrix.settings.target }}-benchmark
key: ${{ matrix.settings.target }}-benchmark-${{ github.ref }}
restore-keys: |
${{ matrix.settings.target }}-benchmark-
- name: Run benchmarks
run: pnpm run --filter @stylexswc/rs-compiler bench
Expand Down

0 comments on commit e60199f

Please sign in to comment.