Skip to content

Commit a06e124

Browse files
committed
chore(scripts): enable npm trusted publishing
1 parent 3ebe2bc commit a06e124

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.changeset/tired-mugs-wave.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"aws-sdk-js-codemod": patch
33
---
44

5-
Bump TypeScript to 5.9
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)