diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b1d58e..dfb4f42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Set Npm Info run: | - npm config set registry http://registry.npmjs.org + npm config set registry https://registry.npmjs.org npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} git config --global user.email "ah_wgs@126.com" git config --global user.name "ahwgs" @@ -30,6 +30,9 @@ jobs: with: version: 7.0.0 + - name: Support TLS1.2 + run: npm install -g https://tls-test.npmjs.com/tls-test-1.0.0.tgz + - name: Install deps run: pnpm install