From 4eae403b602ff88bccd8d170e6b4ea01ab04b8dc Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 21:40:14 +0900 Subject: [PATCH 1/6] move: .github dir --- CONTRIBUTING.md => .github/CONTRIBUTING.md | 0 SECURITY.md => .github/SECURITY.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename CONTRIBUTING.md => .github/CONTRIBUTING.md (100%) rename SECURITY.md => .github/SECURITY.md (100%) diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/SECURITY.md b/.github/SECURITY.md similarity index 100% rename from SECURITY.md rename to .github/SECURITY.md From a6d5edec6f88a3bec8417f9809889662cb92e86f Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 21:41:03 +0900 Subject: [PATCH 2/6] fix: version in ci and benchmark --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index e82fb3b..f26db06 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49f3653..15c827d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 From 0f08258adfdac07c7fcb001f15bd61192fc62a66 Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 21:43:16 +0900 Subject: [PATCH 3/6] fix: benchmark.yml --- .github/workflows/benchmark.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f26db06..05132e2 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -8,11 +8,19 @@ on: jobs: benchmark: + name: Benchmark + + permissions: + pull-requests: write + contents: write + timeout-minutes: 1200 runs-on: ubuntu-latest + strategy: matrix: node: ["18.x", "20.x", "22.x"] + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -23,4 +31,10 @@ jobs: node-version: ${{ matrix.node }} - run: npm install - - run: npm run benchmark + + - name: Print + uses: ROBOTofficial/print@1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + output-file: ./benchmark.log + run: npm run benchmark From 24e34dfef35d2ae13fd334d73092f905a0926710 Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 21:46:00 +0900 Subject: [PATCH 4/6] fix: error in benchmark.yml --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 05132e2..d5fb31d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -33,7 +33,7 @@ jobs: - run: npm install - name: Print - uses: ROBOTofficial/print@1 + uses: ROBOTofficial/print with: github-token: ${{ secrets.GITHUB_TOKEN }} output-file: ./benchmark.log From 05bb73b5eaddf9cb718dcd3c3a047e6fc2946360 Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 22:27:13 +0900 Subject: [PATCH 5/6] fix: error in benchmark.yml --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d5fb31d..dc824aa 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -33,7 +33,7 @@ jobs: - run: npm install - name: Print - uses: ROBOTofficial/print + uses: ROBOTofficial/print@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} output-file: ./benchmark.log From f001648dfb59d9d4e98365169a4430e1bd510735 Mon Sep 17 00:00:00 2001 From: ROBOT Date: Fri, 30 May 2025 22:29:34 +0900 Subject: [PATCH 6/6] fix: benchmark workflow --- .github/workflows/benchmark.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index dc824aa..5ca6d71 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -1,10 +1,9 @@ name: Benchmark on: - pull_request: + push: branches: - main - - version* jobs: benchmark: @@ -36,5 +35,5 @@ jobs: uses: ROBOTofficial/print@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - output-file: ./benchmark.log + output-file: ./v${{ matrix.node }}/benchmark.log run: npm run benchmark