This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Build(deps): bump actions-toolkit from e49ae06
to 1a34ea5
#144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |