Skip to content

Commit

Permalink
update registry-url when publish to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Sep 16, 2021
1 parent 8c03540 commit 3e38edd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

# Publish to NPM registry
- name: Use Node.js ${{ matrix.node-version }} for NPM
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/

- name: Publish to NPM Registry
run: |
rm .npmrc
Expand Down

0 comments on commit 3e38edd

Please sign in to comment.