From b82370fa574c3db451f62292c5ed2f3eb8a84b00 Mon Sep 17 00:00:00 2001 From: taozhi8833998 Date: Sat, 27 Jan 2024 19:03:42 +0800 Subject: [PATCH] fix: github action --- .github/workflows/npm-publish-github-packages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index a7d5d9e0..8bde37ad 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -37,6 +37,10 @@ jobs: run: npm config set strict-ssl false - run: npm install + + - name: Reenable SSL Verification for registry.npm.taobao.org + run: npm config set strict-ssl true + - run: npm run build - run: cd output/prod && npm publish env: @@ -60,6 +64,10 @@ jobs: run: npm config set strict-ssl false - run: npm install + + - name: Reenable SSL Verification for registry.npm.taobao.org + run: npm config set strict-ssl true + - name: Update package.json name run: sed -i '2,2s/node-sql-parser/@taozhi8833998\/node-sql-parser/g' package.json - run: echo registry=https://npm.pkg.github.com/taozhi8833998 >> .npmrc