Skip to content
Merged

Fix #24

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
21 changes: 17 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Benchmark

on:
pull_request:
push:
branches:
- main
- version*

jobs:
benchmark:
name: Benchmark

permissions:
pull-requests: write
contents: write

timeout-minutes: 1200
runs-on: ubuntu-latest

strategy:
matrix:
node: ["18.20.8", "20.x", "22.x"]
node: ["18.x", "20.x", "22.x"]

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -23,4 +30,10 @@ jobs:
node-version: ${{ matrix.node }}

- run: npm install
- run: npm run benchmark

- name: Print
uses: ROBOTofficial/print@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
output-file: ./v${{ matrix.node }}/benchmark.log
run: npm run benchmark
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18.20.8", "20.x", "22.x"]
node: ["18.x", "20.x", "22.x"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down