Release #27
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: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
type: choice | |
description: Version update | |
options: | |
- patch | |
- minor | |
- major | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- id: release | |
uses: rymndhng/[email protected] | |
with: | |
bump_version_scheme: ${{ inputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- run: npm ci | |
- run: npm run check | |
- run: npm run tsc | |
- run: npm run build | |
- run: mv dist/index.html dist/remote-bandui.html | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ steps.release.outputs.tag_name }} | |
files: | | |
dist/remote-bandui.html | |
Mother Project.RPP | |
LICENSE | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |