File tree 2 files changed +51
-5
lines changed
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 1
1
# @cssninja/nuxt-toaster
2
2
3
- A simple toaster handler for Nuxt.js
3
+ 🔔 A simple toaster (notifier) handler for Nuxt.js
4
4
5
5
[ ![ npm] ( https://img.shields.io/npm/v/@cssninja/nuxt-toaster.svg )] ( https://www.npmjs.com/package/@cssninja/nuxt-toaster )
6
6
7
7
## Features
8
8
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
13
13
14
14
15
15
## Installation
You can’t perform that action at this time.
0 commit comments