fix: npm registry connection set to ssl (#1395)

This commit is contained in:
Yongjie Zhao 2021-10-07 11:07:31 +01:00
parent fba5879636
commit b0a4f873d0
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ jobs:
- name: Configure npm and git
run: |
yarn logout
echo "@superset-ui:registry=http://registry.npmjs.org/" > .npmrc
echo "registry=http://registry.npmjs.org/" >> .npmrc
echo "@superset-ui:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
npm whoami
git config --local user.email "action@github.com"