Skip to content

Commit 6325247

Browse files
committedAug 29, 2021
chore: update workflows config.
1 parent f87439a commit 6325247

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed
 

‎.github/workflows/ci.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717

1818
- name: Create Tag
1919
id: create_tag
20-
uses: jaywcjlove/create-tag-action@v1.1.10
20+
uses: jaywcjlove/create-tag-action@v1.2.0
2121
with:
2222
token: ${{ secrets.GITHUB_TOKEN }}
2323
package-path: ./package.json
2424

2525
- name: Generate Changelog
2626
id: changelog
27-
uses: jaywcjlove/changelog-generator@v1.3.10
27+
uses: jaywcjlove/changelog-generator@v1.4.3
2828
with:
2929
token: ${{ secrets.GITHUB_TOKEN }}
3030
head-ref: ${{steps.create_tag.outputs.version}}
@@ -40,16 +40,22 @@ jobs:
4040
tag: ${{ steps.create_tag.outputs.version }}
4141
body: |
4242
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-github-corners@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![](https://img.shields.io/github/issues/uiwjs/react-github-corners.svg)](https://github.com/uiwjs/react-github-corners/releases) [![](https://img.shields.io/github/forks/uiwjs/react-github-corners.svg)](https://github.com/uiwjs/react-github-corners/network) [![](https://img.shields.io/github/stars/uiwjs/react-github-corners.svg)](https://github.com/uiwjs/react-github-corners/stargazers) [![](https://img.shields.io/github/release/uiwjs/react-github-corners.svg)](https://github.com/uiwjs/react-github-corners/releases) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-github-corners)](https://bundlephobia.com/result?p=@uiw/react-github-corners@${{steps.create_tag.outputs.versionNumber}})
43+
4344
```bash
4445
npm i @uiw/react-github-corners@${{steps.create_tag.outputs.versionNumber}}
4546
```
4647
4748
${{ steps.changelog.outputs.compareurl }}
49+
4850
${{ steps.changelog.outputs.changelog }}
4951
5052
- run: npm run doc
5153
- name: Deploy
5254
uses: peaceiris/actions-gh-pages@v3
5355
with:
5456
github_token: ${{ secrets.GITHUB_TOKEN }}
55-
publish_dir: ./build
57+
publish_dir: ./build
58+
59+
- run: npm install @jsdevtools/npm-publish -g
60+
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
61+

0 commit comments

Comments
 (0)
Please sign in to comment.