diff --git a/.changeset/petite-cups-learn.md b/.changeset/petite-cups-learn.md new file mode 100644 index 00000000..b93dd3c9 --- /dev/null +++ b/.changeset/petite-cups-learn.md @@ -0,0 +1,5 @@ +--- +"aws-sdk-js-codemod": patch +--- + +Enable npm trusted publishing diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index bd024120..1e689d97 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -22,6 +22,7 @@ jobs: with: cache: "yarn" + - run: npm install -g npm # Trusted publishing requires npm >=v11.5.1 - run: yarn - name: Create Release Pull Request or Publish to npm @@ -32,4 +33,3 @@ jobs: title: Publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 72e5f2bf..e2a41fa2 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,5 @@ "version": "4.9.2", "onFail": "download" } - }, - "publishConfig": { - "provenance": true } }