Skip to content

Commit

Permalink
Testing npm creds
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Aug 14, 2023
1 parent 9316c23 commit 1337c40
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ jobs:
# if yours isn't named RUBYGEMS_AUTH_TOKEN
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

# TODO: Do we need something like this?
# Will we need to do it in each subdirectory?
#- name: "Setup npm credentials file"
#run: |
#mkdir -p .npmrc
#printf -- "//registry.npmjs.org/:${NPM_TOKEN}\n" > .npmrc

- name: "Test npm api key"
run: npm whoami
env:
# Make sure to update the secret name
# if yours isn't named RUBYGEMS_AUTH_TOKEN
NPM_TOKEN: "${{secrets.NPM_AUTH_TOKEN}}"

- name: "Release all"
run: ./bin/release-all

Expand Down

0 comments on commit 1337c40

Please sign in to comment.