Skip to content

Commit

Permalink
Fixed yarn pulish error.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunquakes committed Nov 13, 2023
1 parent 223ca06 commit da38978
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ jobs:

- name: Publish to NPM
run: |
yarn config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
yarn publish --no-git-checks --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
yarn publish
- name: Install Vuepress and Build Docs
run: |
Expand Down

0 comments on commit da38978

Please sign in to comment.