Skip to content

Conversation

@rbarker-dev
Copy link
Contributor

@rbarker-dev rbarker-dev commented Dec 11, 2025

Description

This pull request updates the ATS publishing workflow to separate the packaging and publishing steps for both the contracts and SDK packages. It introduces new jobs for preparing and uploading package artifacts, and adds a dedicated job for publishing these artifacts to npm. Additionally, it updates package metadata and changelogs to reflect these workflow changes and the new version.

Workflow and Publishing Improvements:

  • Refactored the .github/workflows/ats.publish.yml workflow to split the publishing process into three jobs: prepare-contracts, prepare-sdk, and publish-npm-packages. The new structure builds, packages, and uploads artifacts before a final job publishes them to npm, improving reliability and enabling provenance publishing for non-production releases. [1] [2] [3] [4]
  • Added artifact upload and download steps using actions/upload-artifact and actions/download-artifact to pass built package files between jobs, ensuring only validated artifacts are published. [1] [2]
  • Updated the summary reporting step to reflect the new job names and results, providing clearer feedback on each phase of the process.

Package Metadata and Versioning:

  • Bumped the version of @hashgraph/asset-tokenization-contracts, @hashgraph/asset-tokenization-sdk, and @hashgraph/asset-tokenization-dapp to 1.17.1 and updated their package.json files to include the repository URL. [1] [2] [3]
  • Updated changelogs for all three packages to document the workflow changes and new version. [1] [2] [3]

Type of change

  • New feature ✨

Testing

Dry run publish

@rbarker-dev rbarker-dev self-assigned this Dec 11, 2025
@rbarker-dev rbarker-dev requested review from a team as code owners December 11, 2025 21:56
@rbarker-dev rbarker-dev linked an issue Dec 11, 2025 that may be closed by this pull request
@hedera-eng-infrastructure
Copy link

hedera-eng-infrastructure commented Dec 11, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Signed-off-by: Roger Barker <[email protected]>
Signed-off-by: Roger Barker <[email protected]>
@rbarker-dev rbarker-dev added the github_actions Pull requests that update GitHub Actions code label Dec 11, 2025
@rbarker-dev rbarker-dev merged commit 753fdbc into main Dec 12, 2025
14 checks passed
@rbarker-dev rbarker-dev deleted the 744-update-npmjs-publishing-to-use-provenance-publishing branch December 12, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update NPMJS publishing to use provenance publishing

5 participants