Skip to content

Commit

Permalink
feat: Use release-automation (#125)
Browse files Browse the repository at this point in the history
* feat: Use release-automation

* chore: add a build step

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <[email protected]>

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <[email protected]>

* Update .github/workflows/release.yml

Co-authored-by: Manuel Spigolon <[email protected]>

Co-authored-by: Manuel Spigolon <[email protected]>
  • Loading branch information
ja-bravo and Eomm authored Dec 16, 2021
1 parent f860526 commit 46f9641
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: Node.js runtime on build
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 46f9641

Please sign in to comment.