Skip to content

Commit

Permalink
Merge pull request #1777 from taozhi8833998/fix-github-action
Browse files Browse the repository at this point in the history
fix: github action
  • Loading branch information
taozhi8833998 authored Jan 27, 2024
2 parents 4b48c6f + b82370f commit cf46829
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit cf46829

Please sign in to comment.