Dispatch: Publish NPM Package #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Dispatch: Publish NPM Package' | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| node-version: | |
| description: Node.js version to use. | |
| required: false | |
| type: choice | |
| options: | |
| - '18' | |
| - '20' | |
| - '22' | |
| - '24' | |
| default: '24' | |
| npm-tag: | |
| description: NPM tag to publish the package under. | |
| required: false | |
| type: string | |
| default: latest | |
| dry-run: | |
| description: Performs a dry run of the publish. | |
| required: false | |
| type: boolean | |
| default: false | |
| jobs: | |
| publish: | |
| name: Publish NPM Package | |
| uses: WJSoftware/cicd/.github/workflows/npm-publish.yml@v0.4 | |
| secrets: inherit | |
| with: | |
| node-version: ${{ inputs.node-version }} | |
| npm-tag: ${{ inputs.npm-tag }} | |
| dry-run: ${{ inputs.dry-run }} |