From a4823888465a0389b1ed264d279db88d8ac68be6 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Wed, 11 Feb 2026 09:04:34 +0100 Subject: [PATCH 1/2] chore: upgrade to node 24 in CI --- .github/actions/setup-node/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index 279cca6a..deae0f45 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -4,7 +4,7 @@ description: Sets up Node and Build SDK inputs: node-version: required: false - default: '18' + default: '24' runs: using: 'composite' From eb0d68390a56e7b750cbbd72258058ba3ceafd38 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Wed, 11 Feb 2026 09:21:09 +0100 Subject: [PATCH 2/2] chore: set up trusted publish workflow --- .github/actions/setup-node/action.yml | 1 + .github/workflows/release.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index deae0f45..8c141ac9 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -13,6 +13,7 @@ runs: uses: actions/setup-node@v3 with: node-version: ${{ inputs.node-version }} + registry-url: 'https://registry.npmjs.org' - name: Cache Dependencies uses: actions/cache@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20a4f9f2..85bc4810 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,10 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + contents: write # Required to create GitHub releases (tags + release notes) + jobs: Release: name: 🚀 Release @@ -30,11 +34,7 @@ jobs: - uses: ./.github/actions/setup-node - name: Publish package - run: | - npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish - name: Create release on GitHub uses: ncipollo/release-action@v1