Skip to content

Commit c09f471

Browse files
ithiria894claude
andcommitted
fix npm trusted publishing metadata
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 09cf7d6 commit c09f471

3 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
- name: Setup Node.js
20-
uses: actions/setup-node@v5
20+
uses: actions/setup-node@v6
2121
with:
22-
node-version: "lts/*"
22+
node-version: "24"
2323
registry-url: "https://registry.npmjs.org"
24+
package-manager-cache: false
2425

2526
- name: Install dependencies
2627
run: |
@@ -44,14 +45,9 @@ jobs:
4445
else
4546
echo "skip=false" >> $GITHUB_OUTPUT
4647
fi
47-
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49-
5048
- name: Publish to npm
5149
if: steps.check.outputs.skip != 'true'
5250
run: npm publish --access public
53-
env:
54-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5551

5652
- name: Create GitHub Release
5753
uses: softprops/action-gh-release@v2

bin/cli.mjs

100644100755
File mode changed.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"README.md"
1515
],
1616
"bin": {
17-
"cross-code-organizer": "./bin/cli.mjs"
17+
"cross-code-organizer": "bin/cli.mjs"
1818
},
1919
"scripts": {
2020
"start": "node bin/cli.mjs",
@@ -65,7 +65,7 @@
6565
"license": "MIT",
6666
"repository": {
6767
"type": "git",
68-
"url": "https://github.com/mcpware/cross-code-organizer"
68+
"url": "git+https://github.com/mcpware/cross-code-organizer.git"
6969
},
7070
"engines": {
7171
"node": ">=20"

0 commit comments

Comments
 (0)