Skip to content

Conversation

@austnwil
Copy link
Contributor

Description of changes:

NPM is making changes to authentication that necessitate migrating the publishing workflow to trusted publishing over using NPM tokens. This updates the workflow to use trusted publishing, getting ahead of the change.

See below:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@austnwil
Copy link
Contributor Author

austnwil commented Oct 22, 2025

Note on node version:

  • Current workflow version uses node 16, which is end of life. Trusted publishing requires npm CLI version 11.5.1, which is not supported on node 16.
  • Current LTS version of node is 22, but 24 enters LTS on October 28, while 22 enters maintenance on October 21, so I updated the node version to 24.
  • actions/setup-node needs updated to v4 since v3 is based on node 16.

CLI version 11.5.1 or higher should come installed with node 24.

Copy link

@nirosys nirosys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@austnwil austnwil merged commit be599a8 into amazon-ion:master Oct 23, 2025
4 checks passed
@austnwil austnwil deleted the austnwil/trusted-publishing branch October 23, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants