Skip to content

Commit 32fa139

Browse files
committed
doc: update workflows config.
1 parent c0106db commit 32fa139

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,19 @@ jobs:
1515
- run: npm install
1616
- run: npm run build
1717

18+
- run: npm install @jsdevtools/npm-publish -g
19+
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
20+
1821
- name: Create Tag
1922
id: create_tag
20-
uses: jaywcjlove/create-tag-action@v1.1.10
23+
uses: jaywcjlove/create-tag-action@v1.2.0
2124
with:
2225
token: ${{ secrets.GITHUB_TOKEN }}
2326
package-path: ./package.json
2427

2528
- name: Generate Changelog
2629
id: changelog
27-
uses: jaywcjlove/changelog-generator@v1.3.10
30+
uses: jaywcjlove/changelog-generator@v1.4.2
2831
with:
2932
token: ${{ secrets.GITHUB_TOKEN }}
3033
head-ref: ${{steps.create_tag.outputs.version}}
@@ -45,10 +48,12 @@ jobs:
4548
name: ${{ steps.create_tag.outputs.version }}
4649
tag: ${{ steps.create_tag.outputs.version }}
4750
body: |
48-
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![](https://img.shields.io/github/issues/uiwjs/react-markdown-preview.svg)](https://github.com/uiwjs/react-markdown-preview/releases) [![](https://img.shields.io/github/forks/uiwjs/react-markdown-preview.svg)](https://github.com/uiwjs/react-markdown-preview/network) [![](https://img.shields.io/github/stars/uiwjs/react-markdown-preview.svg)](https://github.com/uiwjs/react-markdown-preview/stargazers) [![](https://img.shields.io/github/release/uiwjs/react-markdown-preview.svg)](https://github.com/uiwjs/react-markdown-preview/releases) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-markdown-preview)](https://bundlephobia.com/result?p=@uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}})
51+
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-markdown-preview)](https://bundlephobia.com/result?p=@uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}})
52+
4953
```bash
5054
npm i @uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}}
5155
```
5256
5357
${{ steps.changelog.outputs.compareurl }}
58+
5459
${{ steps.changelog.outputs.changelog }}

0 commit comments

Comments
 (0)