Skip to content

Commit

Permalink
chore(ci): add some publish worflow tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
irudoy committed Dec 25, 2020
1 parent f43677e commit 5951708
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -24,6 +24,9 @@ jobs:
${{ runner.os }}-yarn-
- run: yarn install
- run: yarn test --bail --ci
- run: yarn npm whoami || true
env:
YARN_NPM_AUTH_TOKEN: ${{secrets.npm_token}}
- run: yarn npm publish
env:
YARN_NPM_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
npmPublishAccess: "public"

packageExtensions:
"@storybook/core@*":
peerDependencies:
Expand Down

0 comments on commit 5951708

Please sign in to comment.