Skip to content

Try tmate

Try tmate #96

Workflow file for this run

name: Benchmark
on:
pull_request:
paths:
- 'packages/cli/**'
- 'packages/core/**'
- 'packages/workflow/**'
- 'packages/nodes-base/**'
workflow_dispatch:
jobs:
benchmark:

Check failure on line 13 in .github/workflows/benchmark.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/benchmark.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- run: corepack enable
- uses: actions/[email protected]
with:
node-version: 18.x
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Build
if: ${{ inputs.cacheKey == '' }}
run: pnpm build:backend
- name: Restore cached build artifacts
if: ${{ inputs.cacheKey != '' }}
uses: actions/cache/[email protected]
with:
path: ./packages/**/dist
key: ${{ inputs.cacheKey }}
- name: Benchmark nodes-base
uses: CodSpeedHQ/action@v2
with:
working-directory: packages/nodes-base
run: pnpm benchmark