Skip to content

Commit b535f6c

Browse files
committed
Fix npm publishing configuration
- Add --access public flag to npm publish - Fix repository URL format warning - Prepare for automation token usage
1 parent 68813d9 commit b535f6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
3131
- run: npm run build
32-
- run: npm publish
32+
- run: npm publish --access public
3333
env:
3434
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"license": "SEE LICENSE IN LICENSE",
3030
"repository": {
3131
"type": "git",
32-
"url": "https://github.com/DatanoiseTV/translator-gemini.git"
32+
"url": "git+https://github.com/DatanoiseTV/translator-gemini.git"
3333
},
3434
"bugs": {
3535
"url": "https://github.com/DatanoiseTV/translator-gemini/issues"

0 commit comments

Comments
 (0)