This pull request adds an optional npm-tag parameter to the npm publish action, which allows customizing the npm tag
when publishing a package to the npm registry. By default, the tag is set to "latest".
The npm-tag parameter is optional but can be passed as an argument to the npm publish action when running the CI/CD
pipeline. The environment variable YARN_NPM_TAG is then passed to the bash script that publishes the
package.
Changes
Add npm-tag parameter to npm publish action.
Use YARN_NPM_TAG environment variable to customize the npm tag parameter passed to the bash script.
Description
This pull request adds an optional
npm-tag
parameter to the npm publish action, which allows customizing the npm tag when publishing a package to the npm registry. By default, the tag is set to "latest".The
npm-tag
parameter is optional but can be passed as an argument to the npm publish action when running the CI/CD pipeline. The environment variableYARN_NPM_TAG
is then passed to the bash script that publishes the package.Changes
npm-tag
parameter to npm publish action.YARN_NPM_TAG
environment variable to customize the npm tag parameter passed to the bash script.