Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

[OPTIC-RELEASE-AUTOMATION] release/v1.0.44 #143

[OPTIC-RELEASE-AUTOMATION] release/v1.0.44

[OPTIC-RELEASE-AUTOMATION] release/v1.0.44 #143

Workflow file for this run

name: Create a release
on:
workflow_dispatch:
inputs:
semver:
description: The semver to use
required: true
default: patch
type: choice
options:
- patch
- minor
- major
pull_request:
types: [closed]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Node.js runtime on build
uses: actions/setup-node@v3.8.1
with:
node-version: 16
- uses: nearform-actions/optic-release-automation-action@v4
with:
github-token: ${{ secrets.github_token }}
semver: ${{ github.event.inputs.semver }}
commit-message: 'chore: release {version}'
sync-semver-tags: true
build-command: |
npm ci
npm run build