File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 id-token : write # Enables provenance signing via OIDC
9494 packages : write # Allows writing to organization packages
9595 env :
96- NPMJS_RELEASE_TAG : ${{ github.event.inputs.prerelease == 'true' && 'unstable-prerelease' || 'latest' }}
96+ PACKAGE_RELEASE_TAG : ${{ github.event.inputs.prerelease == 'true' && 'unstable-prerelease' || 'latest' }}
9797 steps :
9898 - name : Checkout code
9999 # see https://github.com/actions/checkout
@@ -121,12 +121,12 @@ jobs:
121121 npm run -- dev-setup:tools:test-dependencies --ignore-scripts --loglevel=silly
122122 echo "::endgroup::"
123123 # no explicit npm build. if a build is required, it should be configured as prepublish/prepublishOnly script of npm.
124- - name : publish to NPMJS as "${{ env.NPMJS_RELEASE_TAG }}"
124+ - name : publish to NPMJS as "${{ env.PACKAGE_RELEASE_TAG }}"
125125 run : >
126126 npm publish
127127 --provenance
128128 --access public
129- --tag "$NPMJS_RELEASE_TAG "
129+ --tag "$PACKAGE_RELEASE_TAG "
130130 - name : login to GH package registries
131131 run : npm config set "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN"
132132 - name : publish to GitHub as "${{ env.PACKAGE_RELEASE_TAG }}"
You can’t perform that action at this time.
0 commit comments