Skip to content

Commit

Permalink
add versioning action
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 7, 2023
1 parent 1bdb25e commit c59d202
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Tag New Release

on:
workflow_dispatch:
inputs:
type:
type: choice
description: What kind of version?
required: true
options:
- patch
- minor
- major

jobs:
tag:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node-version: [18]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm install

- name: Run Versioning
run: npm run bump:${{ github.event.inputs.type }}

0 comments on commit c59d202

Please sign in to comment.