Skip to content

Merge pull request #2 from AelfScanProject/codex/skill-unified-upgrad… #3

Merge pull request #2 from AelfScanProject/codex/skill-unified-upgrad…

Merge pull request #2 from AelfScanProject/codex/skill-unified-upgrad… #3

name: Coverage Badge
on:
push:
branches:
- main
- master
- 'codex/**'
workflow_dispatch:
permissions:
contents: write
jobs:
coverage-badge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run test:coverage:ci
- run: bun run coverage:badge
- run: touch coverage/.nojekyll
- name: Deploy coverage badge to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./coverage
publish_branch: gh-pages