Skip to content

Commit

Permalink
this seems to work
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Aug 14, 2023
1 parent c1e9cd0 commit b7d66e8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,23 @@ jobs:

# TODO: Do we need something like this?
# Will we need to do it in each subdirectory?
- name: "Setup npm credentials file"
run: |
touch .npmrc
printf -- "//registry.npmjs.org/:${NPM_TOKEN}\n" > .npmrc
echo "----"
cat .npmrc
echo "----"
pwd
echo "----"
cat /home/runner/work/_temp/.npmrc
#- name: "Setup npm credentials file"
#run: |
#touch .npmrc
#printf -- "//registry.npmjs.org/:${NPM_TOKEN}\n" > .npmrc
#echo "----"
#cat .npmrc
#echo "----"
#pwd
#echo "----"
#cat /home/runner/work/_temp/.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}}"
#NPM_TOKEN: "${{secrets.NPM_AUTH_TOKEN}}"
NODE_AUTH_TOKEN: "${{secrets.NPM_AUTH_TOKEN}}"

- name: "echo pwd"
Expand Down

0 comments on commit b7d66e8

Please sign in to comment.