fix: actions のりファクタ #68
Workflow file for this run
This file contains 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
--- | ||
Check failure on line 1 in .github/workflows/codspeed.yml GitHub Actions / Codspeed BenchmarksInvalid workflow file
|
||
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 }} |