Skip to content

Publish npm packages #321

Publish npm packages

Publish npm packages #321

Workflow file for this run

name: Publish npm packages
on:
workflow_dispatch:
inputs:
release_type:
description: 'Type of publish (one of: rc, rc-followup, main, both, hotfix)'
required: true
default: 'rc'
branch:
description: 'Hotfix branch'
required: false
jobs:
both:
if: ${{ github.event.inputs.release_type == 'both' }}
uses: ./.github/workflows/reusable-release-both.yml
secrets: inherit
main:
if: ${{ github.event.inputs.release_type == 'main' }}
uses: ./.github/workflows/reusable-release.yml
with:
release_type: main
secrets: inherit
rc:
if: ${{ github.event.inputs.release_type == 'rc' }}
uses: ./.github/workflows/reusable-release.yml
with:
release_type: rc
secrets: inherit
rc-followup:
if: ${{ github.event.inputs.release_type == 'rc-followup' }}
uses: ./.github/workflows/reusable-release.yml
with:
release_type: rc-followup
secrets: inherit
hotfix:
if: ${{ github.event.inputs.release_type == 'hotfix' }}
uses: ./.github/workflows/reusable-release.yml
with:
release_type: hotfix
branch: ${{ github.event.inputs.branch }}
secrets: inherit