Skip to content

Commit

Permalink
chore(action): add publishConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Jun 5, 2023
1 parent c5e3e32 commit c8367e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"require": "./dist/index.cjs",
"browser": "./dist/index.umd.js"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/*",
"src/*",
Expand All @@ -28,6 +31,7 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky install",
"version": "changeset version",
"release": "npm run build && changeset publish"
},
"lint-staged": {
Expand Down

0 comments on commit c8367e4

Please sign in to comment.