Repository navigation
fix(TsconfigPathsPlugin): resolve inherited paths like tsc #699
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmarks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| # Only pull request runs share a group; every other run gets a group of its own | |
| # (`github.run_id`), because a group holds at most one pending run and a later | |
| # push would otherwise evict the one waiting. CodSpeed compares a pull request | |
| # against the benchmark result of its base commit, so a `main` commit that never | |
| # gets measured leaves later comparisons without a baseline. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # Required for OIDC authentication with CodSpeed | |
| pull-requests: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| mode: ["simulation", "memory"] | |
| name: benchmark (${{ matrix.mode }}) | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 | |
| with: | |
| # Pinned: the `@codspeed/core` native add-on fails to load on Node.js 26 | |
| # (undefined symbol `v8::String::Utf8Length`), which `lts/*` now resolves to. | |
| # 24.21.0 is the version the last `main` baseline was measured with. | |
| node-version: "24.21.0" | |
| cache: npm | |
| - run: npm ci | |
| - name: Run benchmarks | |
| uses: CodSpeedHQ/action@af75f77f17a054769abefaa42fe8dc2975469b5f # v5.6.3 | |
| with: | |
| run: npm run benchmark | |
| mode: ${{ matrix.mode }} |