Skip to content

Commit

Permalink
bring back registry url
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 28, 2024
1 parent ca994f6 commit 76456c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup_node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
node-auth-token:
description: 'NPM authentication token'
required: false
registry-url:
description: 'NPM registry URL'
required: false
outputs:
node-version:
description: 'The Node.js version from package.json'
Expand All @@ -20,6 +23,7 @@ runs:
- uses: actions/setup-node@v4
with:
registry-url: ${{ inputs.registry-url }}
node-version: ${{ steps.get-version.outputs.version }}
env:
NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }}
1 change: 1 addition & 0 deletions .github/workflows/release_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- uses: ./.github/actions/setup_node
with:
registry-url: https://registry.npmjs.org
node-auth-token: ${{ secrets.NPM_TOKEN }}

- uses: ./.github/actions/setup_dfx
Expand Down

0 comments on commit 76456c1

Please sign in to comment.