Skip to content

Release

Release #2

Workflow file for this run

name: "Release"
on:
workflow_dispatch:
inputs:
version:
description: Version number
required: true
type: string
jobs:
auto-publish:
name: "AutoPublish"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout source code"
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: npm version ${{ github.event.inputs.version }} --no-commit-hooks --no-git-tag-version
- run: npm install
- run: npm run build
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Bump version