Skip to content

Commit 3301e68

Browse files
committed
provenance is granted but 404 for package
trying an NPM token with write access
1 parent 74bdd0f commit 3301e68

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
with:
3333
node-version: 22
3434
cache: 'yarn'
35-
registry-url: https://registry.npmjs.org/
3635
- run: yarn install --frozen-lockfile
3736
- run: yarn build
38-
- run: npm publish --provenance --access public
37+
- run: npm publish --provenance --access public
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"repository": {
3737
"type": "git",
38-
"url": "https://github.com/ibutsu/ibutsu-client-javascript.git"
38+
"url": "git+https://github.com/ibutsu/ibutsu-client-javascript.git"
3939
},
4040
"keywords": [
4141
"ibutsu",

0 commit comments

Comments
 (0)