Skip to content

feat: add lru support #12

feat: add lru support

feat: add lru support #12

Workflow file for this run

name: codspeed-benchmarks
on:
push:
branches:
- "main"
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-node@v4"
- name: ⚙️ Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: 📥 Monorepo install
uses: ./.github/actions/yarn-nm-install
- name: 🏗 Build packages
run: yarn nx run-many --target=build --exclude='examples/**' --exclude='docs'
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: yarn workspace @httpx/memo-intl run bench-codspeed
token: ${{ secrets.CODSPEED_TOKEN }}