From 1317887148cc4136e46e54f804370dc088db8189 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 26 Feb 2022 17:39:54 +0800 Subject: [PATCH] chore: update workflows config. --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ad4711..d4fc83e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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