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 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