Skip to content

Commit

Permalink
fix: bin file path
Browse files Browse the repository at this point in the history
  • Loading branch information
wtto00 committed Dec 3, 2024
1 parent 666c1d4 commit 8c2bac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
- run: corepack enable
Expand All @@ -70,7 +69,7 @@ jobs:
- name: Build
run: pnpm build

- run: npm pkg set publishConfig.registry=https://npm.pkg.github.com
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_CONFIG_PROVENANCE: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "CLI for uniapp.",
"type": "module",
"bin": {
"uniapp": "./dist/index.js"
"uniapp": "dist/index.js"
},
"files": ["templates", "dist"],
"scripts": {
Expand Down

0 comments on commit 8c2bac4

Please sign in to comment.