File tree Expand file tree Collapse file tree 2 files changed +51
-5
lines changed
Expand file tree Collapse file tree 2 files changed +51
-5
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ workflow_dispatch :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+ with :
15+ fetch-depth : 0 # needed for git history
16+ - uses : pnpm/action-setup@v2
17+ with :
18+ version : 7
19+ - uses : actions/setup-node@v3
20+ with :
21+ node-version : 18
22+ cache : ' pnpm'
23+
24+ - id : meta
25+ name : release meta
26+ run : |
27+ project=${GITHUB_REPOSITORY#*/}
28+ echo ::set-output name=project::${project}
29+ echo ::set-output name=project-capitalized::${project^}
30+ echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
31+
32+ - id : changelog
33+ name : release changelog
34+ run : |
35+ pnpm dlx conventional-changelog-cli -p conventionalcommits -r 2 -o ${{ github.workspace }}/CHANGELOG_RELEASE.md
36+ cat ${{ github.workspace }}/CHANGELOG_RELEASE.md
37+
38+ - id : create_release
39+ name : create github draft release
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ tag_name : ${{ steps.meta.outputs.tag }}
43+ name : ${{ steps.meta.outputs.project-capitalized }} ${{ steps.meta.outputs.tag }}
44+ body_path : ${{ github.workspace }}/CHANGELOG_RELEASE.md
45+ draft : false
46+ prerelease : false
Original file line number Diff line number Diff line change 11# @cssninja/nuxt-toaster
22
3- A simple toaster handler for Nuxt.js
3+ π A simple toaster (notifier) handler for Nuxt.js
44
55[ ![ npm] ( https://img.shields.io/npm/v/@cssninja/nuxt-toaster.svg )] ( https://www.npmjs.com/package/@cssninja/nuxt-toaster )
66
77## Features
88
9- - Unstyled by default
10- - Render any component as a toast
11- - Fully customizable
12- - Simple to use
9+ - π§ Unstyled by default
10+ - π§© Render any component as a toast
11+ - π¨ Fully customizable
12+ - πͺ Simple to use
1313
1414
1515## Installation
You canβt perform that action at this time.
0 commit comments