Skip to content

Commit a7b29de

Browse files
committed
move to oidc permissions
setup https url for package.
1 parent 3f0ef2b commit a7b29de

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- '*'
77

8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
812
jobs:
913
publish:
1014
runs-on: ubuntu-latest
@@ -35,5 +39,3 @@ jobs:
3539
3640
- name: Publish to npm
3741
run: npm publish
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"license": "Apache-2.0",
4646
"repository": {
4747
"type": "git",
48-
"url": "github:smartystreets/smartystreets-javascript-sdk"
48+
"url": "git+https://github.com/smartystreets/smartystreets-javascript-sdk.git"
4949
},
5050
"devDependencies": {
5151
"@babel/preset-env": "^7.28.5",

0 commit comments

Comments
 (0)