Skip to content

Commit 9dcbe30

Browse files
committed
refactor: registry.npm.taobao.org cert expired
1 parent b4bb106 commit 9dcbe30

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/npm-publish-github-packages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
with:
1717
node-version: 16
1818
registry-url: https://registry.npmjs.org/
19+
20+
- name: Temp disable SSL Verification for registry.npm.taobao.org
21+
run: npm config set strict-ssl false
22+
1923
- run: npm install
2024
- run: npm test
2125

@@ -28,6 +32,10 @@ jobs:
2832
with:
2933
node-version: 16
3034
registry-url: https://registry.npmjs.org/
35+
36+
- name: Temp disable SSL Verification for registry.npm.taobao.org
37+
run: npm config set strict-ssl false
38+
3139
- run: npm install
3240
- run: npm run build
3341
- run: cd output/prod && npm publish
@@ -47,6 +55,10 @@ jobs:
4755
node-version: 16
4856
registry-url: https://npm.pkg.github.com/
4957
scope: '@taozhi8833998'
58+
59+
- name: Temp disable SSL Verification for registry.npm.taobao.org
60+
run: npm config set strict-ssl false
61+
5062
- run: npm install
5163
- name: Update package.json name
5264
run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json

0 commit comments

Comments
 (0)