Skip to content

Commit c42a41d

Browse files
chore: specify registry in package.json
Fix ENEEDAUTH error during npm publish. Also ensure provenance is specified even though npm claims it's automatic with trusted publishing.
1 parent 4a6b192 commit c42a41d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
uses: actions/setup-node@v6
2727
with:
2828
node-version: lts/*
29-
registry-url: 'https://registry.npmjs.com'
3029
check-latest: true
3130
- name: Setup Yarn
3231
run: corepack enable

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"type": "git",
1212
"url": "git+https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x.git"
1313
},
14+
"publishConfig": {
15+
"provenance": true,
16+
"registry": "https://registry.npmjs.com"
17+
},
1418
"bugs": {
1519
"url": "https://github.com/JasonWeinzierl/eslint-plugin-rxjs-x/issues"
1620
},

0 commit comments

Comments
 (0)