Skip to content

PrefectHQ/actions-release-ui-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

actions-release-ui-components

Description

Releases UI components using shared release manifest

Requirements

Environment Variables/Secrets

Env Var/Secret Desription Required
GITHUB_TOKEN Secret/Env Var containing the Github token used for releases. (It is the default git token) true
NPM_RELEASE_TOKEN Secret/Env Var containing the NPM token used for releases. true
RELEASE_TYPE The type of release to perform. (major, minor, patch) true
SKIP_BUILD Bool for whether or not to skip the build step (req by eslint-config). false

Usage

name: Release
on:
  workflow_dispatch:
    inputs:
      release_type:
        description: Type of release to perform
        required: true
        default: patch
jobs:
  release_component:
    name: Release
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

    - name: Configure git user
      run: |
        git config user.name "$GITHUB_ACTOR"
        git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

      - uses: prefecthq/actions-release-ui-components@main
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          RELEASE_TYPE: ${{ inputs.release_type }}
          NPM_TOKEN: ${{ secrets.NPM_TOKEN_SUPER_SECRET }}

About

Releases UI components using shared release manifest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published