Skip to content

Commit

Permalink
move benchmark job to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Aug 18, 2024
1 parent af58d9e commit ec7f775
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/benchmark.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,24 @@ jobs:
path: dist
if-no-files-found: error
- run: yarn test:exports
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.11.1
- name: Use node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: yarn-node-20-lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-node-20-lock-
- run: yarn install --frozen-lockfile
- name: Run benchmark
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: yarn bench

0 comments on commit ec7f775

Please sign in to comment.