feat(hook): ✨ 添加光标位置保存与恢复功能,优化输入体验 #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codecov | |
on: | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'src/**' | |
- 'test/**' | |
jobs: | |
codecov: | |
# 跳过 Renovate PR | |
if: | | |
github.actor != 'renovate[bot]' && | |
github.actor != 'renovate-preview[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# 首先安装 pnpm | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: false | |
# 然后设置 Node.js | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests with coverage | |
run: pnpm coverage | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: HuLaSpark/HuLa |