Skip to content

Commit

Permalink
inject auth token.. more?
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Oct 30, 2024
1 parent 7444054 commit 74f7fff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ runs:
ssm_parameter_pairs: '/production/common/releasing/npm/token = NODE_AUTH_TOKEN'
- uses: ./.github/actions/ci
name: 'Run CI'
env:
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
- name: 'Publish to NPM'
env:
LD_RELEASE_IS_PRERELEASE: ${{ inputs.prelease }}
LD_RELEASE_IS_DRYRUN: ${{ inputs.dry_run }}
NODE_AUTH_TOKEN: $NODE_AUTH_TOKEN
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
shell: bash
run: |
cd api/sdkmeta-js
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/manual-publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write # Needed to obtain release secrets
contents: read
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/publish-npm
Expand Down

0 comments on commit 74f7fff

Please sign in to comment.