Skip to content

Commit 5f9e983

Browse files
committed
build: add missing repository field in package.json for npm authentication
1 parent 99430fb commit 5f9e983

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ jobs:
5858

5959
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6060
with:
61-
node-version: 24
61+
node-version: '24.x'
6262
check-latest: true
63+
registry-url: 'https://registry.npmjs.org'
6364
- run: npm ci
6465
- run: npm test
6566
- run: npm publish --access public

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "git@github.com:mia-platform/mongodb-healthchecker.git"
16+
"url": "git+https://github.com/mia-platform/mongodb-healthchecker.git"
1717
},
1818
"keywords": [
1919
"MongoDB",

0 commit comments

Comments
 (0)