Skip to content

Commit c61addf

Browse files
authored
chore(scripts): enable npm trusted publishing (#1005)
1 parent 3ebe2bc commit c61addf

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.changeset/petite-cups-learn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"aws-sdk-js-codemod": patch
3+
---
4+
5+
Enable npm trusted publishing

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
with:
2323
cache: "yarn"
2424

25+
- run: npm install -g npm # Trusted publishing requires npm >=v11.5.1
2526
- run: yarn
2627

2728
- name: Create Release Pull Request or Publish to npm
@@ -32,4 +33,3 @@ jobs:
3233
title: Publish <version>
3334
env:
3435
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,5 @@
6363
"version": "4.9.2",
6464
"onFail": "download"
6565
}
66-
},
67-
"publishConfig": {
68-
"provenance": true
6966
}
7067
}

0 commit comments

Comments
 (0)