Skip to content

Commit 81eaad3

Browse files
chore(ci): update npm to latest before publishing
1 parent 537a75d commit 81eaad3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
node-version: '24'
3232
registry-url: 'https://registry.npmjs.org'
3333

34+
- run: npm install -g npm@latest
35+
if: ${{ steps.release.outputs.release_created }}
36+
3437
- run: npm ci
3538
if: ${{ steps.release.outputs.release_created }}
3639

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://github.com/nwutils/getter",
3535
"repository": {
3636
"type": "git",
37-
"url": "https://github.com/nwutils/getter.git"
37+
"url": "git+https://github.com/nwutils/getter.git"
3838
},
3939
"scripts": {
4040
"test": "node --test --experimental-test-coverage --test-coverage-exclude=\"tests/**/*\" \"tests/specs/*.test.js\""

0 commit comments

Comments
 (0)