Skip to content

security: stricter pnpm config blockExoticSubdeps & trustPolicy #75

security: stricter pnpm config blockExoticSubdeps & trustPolicy

security: stricter pnpm config blockExoticSubdeps & trustPolicy #75

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- 'main'
paths:
- 'packages/**'
- 'benchmarks/**'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
pull_request:
paths:
- 'packages/**'
- 'benchmarks/**'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_NO_CLOUD: true
jobs:
benchmarks:
name: Run intent CodSpeed benchmark
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Tools
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3 # main
- name: Run intent CodSpeed benchmark
continue-on-error: true
uses: CodSpeedHQ/action@3194d9a39c4d46684cb44bf7207fc56626aad8fd # v4.15.1
with:
mode: simulation
run: WITH_INSTRUMENTATION=1 pnpm exec nx run @benchmarks/intent:test:perf