From fbd961b543170aa0fcfc5523d63b40da06ef2e0e Mon Sep 17 00:00:00 2001 From: Eric King Date: Tue, 31 Mar 2026 12:24:06 -0500 Subject: [PATCH 1/3] chore: renamed file --- .nvmrc => .node-version | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .nvmrc => .node-version (100%) diff --git a/.nvmrc b/.node-version similarity index 100% rename from .nvmrc rename to .node-version From 47af71d7695309aa369538a0d0e4eab336eff9b5 Mon Sep 17 00:00:00 2001 From: Eric King Date: Tue, 31 Mar 2026 12:26:06 -0500 Subject: [PATCH 2/3] ci(release): use `Trusted Publisher` --- .github/workflows/release.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bbf1137..3d06065 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,13 +5,19 @@ on: branches: - main +concurrency: release + +env: + HUSKY: 0 + permissions: contents: read # for checkout jobs: release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 + environment: release permissions: contents: write # to be able to publish a GitHub release issues: write # to be able to comment on released issues @@ -19,7 +25,7 @@ jobs: id-token: write # to enable use of OIDC for npm provenance steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -27,13 +33,18 @@ jobs: uses: pnpm/action-setup@v4 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version-file: '.nvmrc' + node-version-file: '.node-version' cache: 'pnpm' + - name: Install latest npm + run: | + npm install -g npm@latest + npm --version + - name: Installing dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Building run: pnpm build @@ -45,6 +56,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_CONFIG_PROVENANCE: true - run: npx --no semantic-release + run: pnpm exec semantic-release From d29b52f13f10d08333350bd0a7a0c212eae6aa08 Mon Sep 17 00:00:00 2001 From: Eric King Date: Tue, 31 Mar 2026 12:27:49 -0500 Subject: [PATCH 3/3] chore: renamed `.nvmrc` to `.node-version` --- .github/workflows/node.js.yml | 2 +- .prettierignore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b28ac0e..4ef7b06 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,7 +20,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: '.node-version' cache: 'pnpm' - name: Installing dependencies diff --git a/.prettierignore b/.prettierignore index c4cb2d5..6d2142d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,6 @@ node_modules/ private/ .editorconfig .npmrc -.nvmrc +.node-version .prettierignore pnpm-lock.yaml