Skip to content

Commit

Permalink
feat: add release action (#123)
Browse files Browse the repository at this point in the history
* feat: add release action

Close #112.

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>

Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
  • Loading branch information
nuragic and Eomm authored Dec 20, 2021
1 parent 6b94b37 commit 5dc0db2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: release

on:
workflow_dispatch:
inputs:
semver:
description: 'The semver to use'
required: true
default: 'patch'
pull_request:
types: [closed]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setting action build runtime
uses: actions/setup-node@v2
with:
node-version: 16
- uses: nearform/optic-release-automation-action@v2
with:
github-token: ${{ secrets.github_token }}
semver: ${{ github.event.inputs.semver }}
sync-semver-tags: true
build-command: |
echo 'installing husky hooks..'
npm ci

0 comments on commit 5dc0db2

Please sign in to comment.