Skip to content

Commit

Permalink
fix(ci): 修复 npm publish 失败 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
imaegoo authored Jan 7, 2021
1 parent fa7f7c0 commit 702b3f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Publish
on:
release:
types: [created]
workflow_dispatch:

jobs:
publish-npm:
Expand All @@ -19,6 +20,8 @@ jobs:
- run: yarn install
- run: yarn build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: cd src/function/twikoo && yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 702b3f3

Please sign in to comment.