Skip to content

chore(deps): update dependency nuxt to v5.0.0-2610172256-12156d1 #487

chore(deps): update dependency nuxt to v5.0.0-2610172256-12156d1

chore(deps): update dependency nuxt to v5.0.0-2610172256-12156d1 #487

Workflow file for this run

name: cli-bench
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
# Runs the cheap suites against a baseline built from the PR's merge base:
# startup timings
# (interleaved, so the deltas survive runner noise even when the absolute
# numbers do not), module counts and install footprint. The dev, restart
# and build suites need real fixtures and minutes of wall time; run those
# locally with `pnpm bench:cli`.
bench:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Fetch merge base
run: git fetch --no-tags --depth=1 origin ${{ github.event.pull_request.base.sha }}
- uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
with:
cache: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 📊 Run benchmark suites
run: node bench/run.ts --baseline ref:${{ github.event.pull_request.base.sha }} --suite startup --suite modules --suite footprint --out bench-report/report.md
- name: ⏫ Upload report
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: cli-bench-report
path: bench-report/