Repository navigation
ci: Lint workflow 加跑 test-css-declaration-count.mjs,并在自身改动时触发 - #20
Merged
Merged
Conversation
PR #19 新增的 test-css-declaration-count.mjs 只接入了 npm run check, Lint workflow 的测试列表是写死的,CI 并不会跑到它。 - Run generated check tests 增加该测试 - push / pull_request 的 paths 增加 .github/workflows/lint.yml: 否则只改 workflow 时 CI 不会运行,这次改动也无法在合并前被验证
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
PR #19 新增的
harness/test-css-declaration-count.mjs只接入了npm run check。Lint workflow 的测试列表是写死的,CI 不会跑到它。纳入范围
.github/workflows/lint.ymlRun generated check tests增加node harness/test-css-declaration-count.mjspush/pull_request的paths增加.github/workflows/lint.yml。原先只改 workflow 时 CI 不会运行,这次改动也就无法在合并前被验证;加上之后本 PR 会实际跑一遍新的 workflow。CHANGELOG.md:在 fix: position/filter 样式统计只在标签内匹配,修正英文正文子串误报 #19 那一条末尾补上「已接入 CI」。没有排除任何本地文件,工作区只有这两个改动。
验证
npm run check、privacy-check.sh --full、git diff --cached --check均通过。没有做的
Lint workflow 仍然是一份写死的测试子集。
test-relay-script-sync-contract、test-publish-evidence-contract、test-draft-update-shape、test-reconcile-wechat-drafts这四个依旧只在本地npm run check里跑,本 PR 没有改动这一点。