From e92c1adcf2d747ad77c561802239a661864b7730 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 30 Mar 2026 15:30:49 +0200 Subject: [PATCH 1/2] update the release workflow --- .github/workflows/release-please.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index b1eac77..3f650f5 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,16 +16,16 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 id: release with: token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 if: ${{ steps.release.outputs.release_created }} - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 if: ${{ steps.release.outputs.release_created }} with: node-version: 22.x @@ -39,6 +39,10 @@ jobs: run: yarn build if: ${{ steps.release.outputs.release_created }} + - name: Install latest npm + run: npm install -g npm@latest + if: ${{ steps.release.outputs.release_created }} + - name: Publish to npm run: npm publish --access public if: ${{ steps.release.outputs.release_created }} From 4558649fbfb8bd0f44afee1512092aee18d43fc4 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 30 Mar 2026 15:31:21 +0200 Subject: [PATCH 2/2] revert changes to unreleased changelog --- .release-please-manifest.json | 2 +- CHANGELOG.md | 19 ------------------- package.json | 2 +- 3 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index af6dd8b..b725ab0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.3" + ".": "2.0.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 602e8c5..8636818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,24 +1,5 @@ # Changelog -## 2.0.3 (2026-03-30) - -## What's Changed -* chore: remove npm token setup from release workflow by @nazarhussain in https://github.com/ChainSafe/benchmark/pull/48 - - -**Full Changelog**: https://github.com/ChainSafe/benchmark/compare/v2.0.2...v2.0.3 - -## 2.0.2 (2026-03-30) - -## What's Changed -* fix: use parseAsync to propagate async handler errors to exit code by @lodekeeper in https://github.com/ChainSafe/benchmark/pull/46 -* fix: throw error when benchmarks fail instead of silently dropping results by @lodekeeper in https://github.com/ChainSafe/benchmark/pull/45 - -## New Contributors -* @lodekeeper made their first contribution in https://github.com/ChainSafe/benchmark/pull/46 - -**Full Changelog**: https://github.com/ChainSafe/benchmark/compare/v2.0.1...v2.0.2 - ## 2.0.1 (2025-04-30) ## What's Changed diff --git a/package.json b/package.json index 6e449ad..94aee6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chainsafe/benchmark", - "version": "2.0.3", + "version": "2.0.1", "repository": "git@github.com:chainsafe/benchmark.git", "author": "ChainSafe Systems", "license": "MIT",