Skip to content

Commit

Permalink
Create release-beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deniss-kaibagarovs authored Nov 15, 2024
1 parent e7ef322 commit 9eede26
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release-beta

on:
workflow_dispatch:
inputs:
type:
description: 'Release Type'
required: true
default: 'patch'
type: choice
options:
- major
- minor
- patch

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Build package
run: yarn prepack

- name: Git Config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Release
run: yarn pre release ${{ inputs.type }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9eede26

Please sign in to comment.