Skip to content

release: v0.2.2 - 修复 heading-sticky-title 位置问题 #16

release: v0.2.2 - 修复 heading-sticky-title 位置问题

release: v0.2.2 - 修复 heading-sticky-title 位置问题 #16

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run unit tests with coverage
run: pnpm test:coverage
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report
path: coverage/
retention-days: 7