Skip to content

Commit a6197dd

Browse files
committed
fix: update npm trusted publishing release config
1 parent a06da91 commit a6197dd

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/semantic-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
cache: 'pnpm'
3737
cache-dependency-path: pnpm-lock.yaml
3838

39+
- name: Ensure npm supports trusted publishing
40+
run: |
41+
echo "Before upgrade: node $(node --version), npm $(npm --version)"
42+
npm install -g npm@^11.5.1
43+
echo "After upgrade: node $(node --version), npm $(npm --version)"
44+
3945
- name: Install Dependencies
4046
run: pnpm install --frozen-lockfile
4147

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.2.7",
44
"author": "Marco Link <marcoxlink@gmail.com>",
55
"private": false,
6-
"repository": "marcolink/generate-json-patch",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/marcolink/generate-json-patch.git"
9+
},
710
"homepage": "https://github.com/marcolink/generate-json-patch",
811
"packageManager": "pnpm@8.6.12",
912
"license": "MIT",

0 commit comments

Comments
 (0)