Skip to content

infinitaslearning/workflow-publish-public-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

workflow-publish-public-module

Publishes a public @ilpt module to npmjs.

This workflow is intended for infinitaslearning modules only.

Usage

name: Publish Module
on:
  workflow_dispatch:
    inputs:
      version:
        description: "Type of version bump for this release."
        required: true
        default: patch
        type: choice
        options:
          - major
          - minor
          - patch

jobs:
  publish:
    uses: infinitaslearning/workflow-publish-public-module/.github/workflows/publish-module.yaml@v1
    with:
      version: ${{ inputs.version }}
    secrets:
      NPMJS_ILPT_PUBLISH: ${{ secrets.NPMJS_ILPT_PUBLISH }}