mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
create release-it action
This commit is contained in:
parent
5e71d4697e
commit
de94a115e8
2 changed files with 24 additions and 0 deletions
23
.github/workflows/release-it.yml
vendored
Normal file
23
.github/workflows/release-it.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: release-it
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Increment "major", "minor", "patch", or "pre*" version; or specify version'
|
||||
default: patch
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- name: Release
|
||||
working-directory: release-it
|
||||
run: |
|
||||
npm i
|
||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
git config user.name "${GITHUB_ACTOR}"
|
||||
npx release-it --ci -- "${{ github.event.inputs.version }}"
|
|
@ -8,6 +8,7 @@
|
|||
### Added
|
||||
|
||||
- addUnreleased, addVersionUrl
|
||||
- create release-it action
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue