Skip to content

Commit

Permalink
chore(repo): Attempt to fix snapshot release
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdouvlis committed Nov 7, 2023
1 parent 8e490a4 commit 2051dfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2051dfb

Please sign in to comment.