Skip to content

Commit b82370f

Browse files
committed
fix: github action
1 parent 8c80176 commit b82370f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
run: npm config set strict-ssl false
3838

3939
- run: npm install
40+
41+
- name: Reenable SSL Verification for registry.npm.taobao.org
42+
run: npm config set strict-ssl true
43+
4044
- run: npm run build
4145
- run: cd output/prod && npm publish
4246
env:
@@ -60,6 +64,10 @@ jobs:
6064
run: npm config set strict-ssl false
6165

6266
- run: npm install
67+
68+
- name: Reenable SSL Verification for registry.npm.taobao.org
69+
run: npm config set strict-ssl true
70+
6371
- name: Update package.json name
6472
run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json
6573
- run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc

0 commit comments

Comments
 (0)