Skip to content

Dispatch: Publish NPM Package #11

Dispatch: Publish NPM Package

Dispatch: Publish NPM Package #11

Workflow file for this run

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 }}