Skip to content

Commit 6fdca25

Browse files
committed
fix(release): use https for npm registry url
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/
1 parent ede1645 commit 6fdca25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- name: Publish Packages
3636
run: |
3737
yarn logout
38-
echo "@react-native-firebase:registry=http://registry.npmjs.org/" > ~/.npmrc
39-
echo "registry=http://registry.npmjs.org/" >> ~/.npmrc
38+
echo "@react-native-firebase:registry=https://registry.npmjs.org/" > ~/.npmrc
39+
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
4040
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
4141
npm whoami
4242
git diff --exit-code

0 commit comments

Comments
 (0)