Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
NEXT_VERSION:
description: Define next version (major/minor/patch)
required: true
REPOSITORY_NAME:
description: Repository full name (e.g. chrvadala/hello )
required: true
jobs:
build_and_release:
runs-on: ubuntu-22.04
if: ${{ github.event.inputs.REPOSITORY_NAME == github.repository }}
steps:
- uses: actions/checkout@v4
- name: Release library
uses: chrvadala/github-actions/nodejs-release-library-action@v1
with:
NEXT_VERSION: ${{ github.event.inputs.NEXT_VERSION }}
NPM_TOKEN: ${{ secrets.npm_token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}