From 30a80305f99595f5f4873f1cd7d6a4d5408f7111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Duquette?= Date: Wed, 17 Jun 2026 10:55:26 -0400 Subject: [PATCH 1/2] ci: add contents write permission for nuget releases --- .github/workflows/release-nugets.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-nugets.yml b/.github/workflows/release-nugets.yml index 257036f6..1a6dbe38 100644 --- a/.github/workflows/release-nugets.yml +++ b/.github/workflows/release-nugets.yml @@ -17,6 +17,7 @@ jobs: runs-on: ubuntu-22.04 permissions: id-token: write + contents: write steps: - uses: actions/checkout@v6 From 63f5607238b16457b0e12ca69d75e6e789fb49b5 Mon Sep 17 00:00:00 2001 From: Dion Gionet Mallet Date: Wed, 17 Jun 2026 11:19:18 -0400 Subject: [PATCH 2/2] ci(release): add node setup for npm publishing in release workflow --- .github/workflows/release-others.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release-others.yml b/.github/workflows/release-others.yml index 293d1f15..1f73264c 100644 --- a/.github/workflows/release-others.yml +++ b/.github/workflows/release-others.yml @@ -129,6 +129,13 @@ jobs: env: CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} + - name: Setup Node + if: ${{ inputs.publish_npm }} + uses: actions/setup-node@v4 + with: + node-version: 22 + registry-url: https://registry.npmjs.org + - name: Publish NPM Bundler if: ${{ inputs.publish_npm }} working-directory: ./devolutions-crypto-npm/bundler