Skip to content

Commit

Permalink
Try ChatGPT suggestion to setup npmrc, even though actions/setup-node…
Browse files Browse the repository at this point in the history
… is supposed to do this for me
  • Loading branch information
kj4ezj committed Aug 3, 2024
1 parent 588c0c9 commit 3252fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ elif [[ "$CI" != 'true' || -n "$ACT" ]]; then
elif [[ "$NODE_MAJOR_VERSION" != "$(cat .nvmrc | tr -d '[:space:]')" ]]; then
printf '\e[1;33mNOTICE: Skipping publish step for older Node.js matrix job.\e[0m\n'
else
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_API_KEY }}" > ~/.npmrc
ee 'npm publish --provenance --access public'
printf '\e[1;32mPublished to npm!\e[0m\n'
fi
Expand Down

0 comments on commit 3252fec

Please sign in to comment.