Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 26, 2022
1 parent 646f1a7 commit 1317887
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,19 @@ jobs:
- run: npm install --unsafe-perm
- run: npm run hoist
- run: npm run build
- run: npm run bundle
- run: npm run bundle:min
- run: npm run coverage
- run: npm run doc

- run: npm i coverage-badges-cli -g
- run: coverage-badges
- name: Create Coverage Badges
uses: jaywcjlove/coverage-badges-cli@main
with:
output: website/build/badges.svg

- run: cp -rp coverage website/build
- run: cp -rp core/dist/*js website/build
- run: cp -rp core/dist/*css website/build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand All @@ -63,7 +70,6 @@ jobs:
id: create_tag
uses: jaywcjlove/create-tag-action@v1.3.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-path: ./core/package.json

- name: Generate Changelog
Expand Down

0 comments on commit 1317887

Please sign in to comment.