fix: #1776 修复未闭合标签被无脑转义导致引用语法失效的问题 #417
Workflow file for this run
This file contains hidden or 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
| # ============================================================================= | |
| # PR: Unit Test — 单元测试运行 | |
| # | |
| # 触发时机: 提交 PR 到 main 或 dev 分支时自动运行 | |
| # 功能: 执行 yarn test,验证代码逻辑正确性 | |
| # ============================================================================= | |
| name: 'PR: Unit Test' | |
| on: | |
| pull_request: | |
| branches: [main, dev] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .node-version | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Test | |
| run: yarn test |