Skip to content

Build(deps): bump issue-ops/semver from 1 to 2 #29

Build(deps): bump issue-ops/semver from 1 to 2

Build(deps): bump issue-ops/semver from 1 to 2 #29

name: Continuous Delivery
on:
pull_request:
types:
- closed
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
release:
name: Release Version
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
startsWith(github.head_ref, 'dependabot/') == false)
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Tag
id: tag
uses: issue-ops/semver@v2
with:
manifest-path: package.json
workspace: ${{ github.workspace }}
ref: main
- name: Create Release
id: release
uses: issue-ops/releaser@v1
with:
tag: v${{ steps.tag.outputs.version }}