Skip to content

Commit 19fc823

Browse files
committed
chore: update workflows config.
1 parent 197280f commit 19fc823

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.github/workflows/ci.marster.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ jobs:
1919
- run: npm install
2020
- run: npm run coverage
2121
- run: npm run doc
22+
- run: npm run bundle
23+
- run: npm run bundle:min
24+
25+
- name: Create Coverage Badges
26+
uses: jaywcjlove/coverage-badges-cli@main
27+
28+
- name: Generate Contributors Images
29+
uses: jaywcjlove/github-action-contributors@main
30+
with:
31+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
32+
output: build/CONTRIBUTORS.svg
33+
avatarSize: 42
34+
35+
- name: Deploy
36+
uses: peaceiris/actions-gh-pages@v3
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_dir: ./build
2240

2341
- run: npm install @jsdevtools/npm-publish -g
2442
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
@@ -58,12 +76,6 @@ jobs:
5876
npm i @uiw/react-markdown-preview@${{steps.create_tag.outputs.versionNumber}}
5977
```
6078
61-
- name: Deploy
62-
uses: peaceiris/actions-gh-pages@v3
63-
with:
64-
github_token: ${{ secrets.GITHUB_TOKEN }}
65-
publish_dir: ./build
66-
6779
- name: Coveralls
6880
uses: coverallsapp/github-action@master
6981
with:

.github/workflows/pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Build & Deploy
32
on:
43
pull_request:
@@ -14,4 +13,7 @@ jobs:
1413

1514
- run: npm install
1615
- run: npm run build
17-
- run: npm run coverage
16+
- run: npm run coverage
17+
- run: npm run doc
18+
- run: npm run bundle
19+
- run: npm run bundle:min

0 commit comments

Comments
 (0)