Skip to content

Commit e02d6d5

Browse files
authored
fix: add repository URL for npm provenance publishing (#33)
- Add repository field to package.json (required for provenance) - Add npm environment to release workflow
1 parent 074ee61 commit e02d6d5

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
publish:
1111
name: Publish to npm
1212
runs-on: ubuntu-latest
13+
environment: npm
1314
permissions:
1415
contents: read
1516
id-token: write

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "0.3.1",
44
"type": "module",
55
"description": "The Official Workos CLI",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/workos/cli"
9+
},
610
"keywords": [
711
"workos",
812
"authkit",

0 commit comments

Comments
 (0)