Skip to content

fix: actions のりファクタ #68

fix: actions のりファクタ

fix: actions のりファクタ #68

Workflow file for this run

---

Check failure on line 1 in .github/workflows/codspeed.yml

View workflow run for this annotation

GitHub Actions / Codspeed Benchmarks

Invalid workflow file

The workflow is not valid. .github/workflows/codspeed.yml (Line: 3, Col: 11): Unexpected symbol: '+'. Located at position 53 within expression: github.event_name == 'pull_request' && ('Test on "' + github.event.pull_request.title + '" by ' + github.actor) || 'Test on main'
name: Codspeed Benchmarks
run-name: ${{ github.event_name == 'pull_request' && ('Test on "' + github.event.pull_request.title + '" by ' + github.actor) || 'Test on main' }}
permissions:
contents: read
packages: read
pull-requests: write
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- ".github/workflows/codspeed.yml"
- ".gitignore"
- "src"
- "test"
- "package.json"
- "vitest.config.ts"
- "yarn.lock"
jobs:
init__node:
if: |
!contains(github.event.pull_request.labels.*.name, 'renovate') && github.event.pull_request.title != 'Version Packages'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node
benchmarks:
runs-on: ubuntu-latest
needs:
- init__node
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: yarn bench
token: ${{ secrets.CODSPEED_TOKEN }}