From 2051dfb638cf0224c327a01845f76799add1d808 Mon Sep 17 00:00:00 2001 From: Nikos Douvlis Date: Tue, 7 Nov 2023 21:20:08 +0200 Subject: [PATCH] chore(repo): Attempt to fix snapshot release --- .github/actions/init/action.yml | 5 +++++ .github/workflows/release-snapshot.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/actions/init/action.yml b/.github/actions/init/action.yml index d8434e3bf6..d3f59b878d 100644 --- a/.github/actions/init/action.yml +++ b/.github/actions/init/action.yml @@ -35,6 +35,10 @@ inputs: turbo-token: description: 'The token to use for Turbo remote auth' required: true + node-auth-token: + description: 'The token to use for publishing packages to NPM' + required: false + default: '' runs: using: "composite" @@ -90,6 +94,7 @@ runs: uses: actions/setup-node@v3 with: node-version: ${{ inputs.node-version }} + NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }} - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index 9357d822f5..1775a5340e 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -48,6 +48,7 @@ jobs: turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }} turbo-team: ${{ vars.TURBO_TEAM }} turbo-token: ${{ secrets.TURBO_TOKEN }} + node-auth-token: ${{ secrets.NPM_TOKEN }} - name: Extract snapshot name id: extract-snapshot-name