@@ -143,7 +143,7 @@ jobs:
143143 (github.event_name == 'pull_request' && (github.base_ref == 'main' || github.base_ref == 'satp-dev' || github.base_ref == 'satp-stg')) ||
144144 github.event_name == 'workflow_dispatch'
145145 )
146- runs-on : ubuntu-latest-16-cores
146+ runs-on : ubuntu-latest
147147 outputs :
148148 package_version : ${{ steps.set_tags.outputs.package_version }}
149149 tag_suffix : ${{ steps.set_tags.outputs.tag_suffix }}
@@ -209,7 +209,7 @@ jobs:
209209 # Build NPM packages for pushes, PRs targeting the release branches, and manual workflow dispatch.
210210 # This job only builds, it does not publish to registries.
211211 if : (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/satp-dev' || github.ref == 'refs/heads/satp-stg')) || (github.event_name == 'pull_request' && (github.base_ref == 'main' || github.base_ref == 'satp-dev' || github.base_ref == 'satp-stg')) || github.event_name == 'workflow_dispatch'
212- runs-on : ubuntu-latest-16-cores
212+ runs-on : ubuntu-latest
213213 steps :
214214 - uses : actions/checkout@v4.1.7
215215
@@ -278,7 +278,7 @@ jobs:
278278 publish-satp-hermes-npm-package-npmjs :
279279 needs : [build-satp-hermes-npm-package, set-npm-tags]
280280 if : (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/satp-dev' || github.ref == 'refs/heads/satp-stg')) || github.event_name == 'workflow_dispatch'
281- runs-on : ubuntu-latest-16-cores
281+ runs-on : ubuntu-latest
282282 steps :
283283 - uses : actions/checkout@v4.1.7
284284
@@ -354,15 +354,16 @@ jobs:
354354 npm whoami
355355 # Publish with latest tag (npm automatically tags with version)
356356 npm publish --tag latest --access public
357- # Also add version-specific tag for easier reference
357+ # Also add version-specific dist- tag for easier reference (e.g. 0.0.3-beta)
358358 PACKAGE_VERSION=$(node -e "console.log(require('./package.json').version)")
359- echo "Published version ${PACKAGE_VERSION} with 'latest' tag"
359+ echo "Published version ${PACKAGE_VERSION} with 'latest' and '${PACKAGE_VERSION}' tags"
360+ npm dist-tag add "@hyperledger/cactus-plugin-satp-hermes@${PACKAGE_VERSION}" "${PACKAGE_VERSION}"
360361
361362 # Stage: Publish NPM package to GitHub Package Registry
362363 publish-satp-hermes-npm-package-ghcr :
363364 needs : [build-satp-hermes-npm-package, set-npm-tags]
364365 if : (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/satp-dev' || github.ref == 'refs/heads/satp-stg')) || github.event_name == 'workflow_dispatch'
365- runs-on : ubuntu-latest-16-cores
366+ runs-on : ubuntu-latest
366367 continue-on-error : true # Don't fail the workflow if GitHub Package Registry push fails
367368 steps :
368369 - uses : actions/checkout@v4.1.7
0 commit comments