Skip to content

Commit

Permalink
fix(release): use https for npm registry url
Browse files Browse the repository at this point in the history
http is deprecated, and https is required now or publish fails:
https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
  • Loading branch information
mikehardy committed Oct 10, 2021
1 parent ede1645 commit 6fdca25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Publish Packages
run: |
yarn logout
echo "@react-native-firebase:registry=http://registry.npmjs.org/" > ~/.npmrc
echo "registry=http://registry.npmjs.org/" >> ~/.npmrc
echo "@react-native-firebase:registry=https://registry.npmjs.org/" > ~/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm whoami
git diff --exit-code
Expand Down

1 comment on commit 6fdca25

@vercel
Copy link

@vercel vercel bot commented on 6fdca25 Oct 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.