Release #98
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: | |
bump: | |
description: 'bump type, major or minor or patch or empty string' | |
default: '' | |
dry_run: | |
description: 'dry run, true or false' | |
default: 'false' | |
draft: | |
description: 'draft, true or false' | |
default: 'false' | |
pre_release: | |
description: 'pre release, true or false' | |
default: 'false' | |
schedule: | |
# UTC: every 1st and 15th day of month at 9:00 | |
# JST: every 1st and 15th day of month at 0:00 | |
- cron: '0 9 1,15 * *' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm install | |
- run: npm run build | |
- run: npm run test | |
- uses: MeilCli/bump-release-action@master | |
with: | |
config_path: '.github/bump.yml' | |
bump: ${{ github.event.inputs.bump }} | |
dry_run: ${{ github.event.inputs.dry_run }} | |
draft: ${{ github.event.inputs.draft }} | |
pre_release: ${{ github.event.inputs.pre_release }} |