Skip to content

Commit c2b1056

Browse files
authored
chore: enable npm provenance (#1946)
1 parent b7c8c32 commit c2b1056

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release-it.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313

1414
jobs:
1515
release:
16+
permissions:
17+
contents: write
18+
id-token: write
1619
runs-on: [ubuntu-latest]
1720
strategy:
1821
matrix:

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
}
9696
}
9797
},
98+
"publishConfig": {
99+
"provenance": true
100+
},
98101
"pre-commit": [
99102
"lint"
100103
],
@@ -168,4 +171,4 @@
168171
"ts-node": "^10.9.1",
169172
"typescript": "^5.2.2"
170173
}
171-
}
174+
}

0 commit comments

Comments
 (0)