Skip to content

Commit

Permalink
SRE-1339 - fix npm token name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivli-Embir committed Dec 7, 2023
1 parent 624d9ec commit b253325
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
description: 'If true, will run npm install.'
required: false
default: 'true'
NODE_AUTH_TOKEN:
node-auth-token:
description: 'The auth token to use for npm.'
required: false

Expand All @@ -34,16 +34,16 @@ runs:
run: npm ci --ignore-scripts
shell: bash
env:
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.node-auth-token }}
- name: npm_install_prod_and_dev_deps
if: ${{ !fromJSON(inputs.use_dev) && fromJSON(inputs.npm-install) }}
run: npm ci --ignore-scripts --omit=dev
shell: bash
env:
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.node-auth-token }}
- name: npm_rebuild
if: ${{ fromJSON(inputs.npm-install) }}
run: npm rebuild && npm run prepare --if-present
shell: bash
env:
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.NODE_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.node-auth-token }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b253325

Please sign in to comment.