ci: run full frontend verification #1
Frontend verify / verify (push) Failing after 3m48s

This commit is contained in:
2026-09-13 16:15:54 +03:00
parent ccff422f36
commit 22e331e2ff
3 changed files with 25 additions and 4 deletions
@@ -1,4 +1,4 @@
name: Biome
name: Frontend verify
on:
push:
@@ -6,14 +6,17 @@ on:
- '**'
jobs:
biome:
verify:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Record checked revision
run: git rev-parse HEAD
- uses: https://github.com/actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm ci
env:
HUSKY: '0'
- run: npm run lint
- name: Run all frontend gates
run: npm run verify
+5
View File
@@ -17,6 +17,11 @@ HTTP contract changes дополнительно проходят общий
Generated types редактируются через их source; T-Bank доступен только через backend.
Frontend dependencies используют exact versions. Pre-commit запускает staged
formatting и FSD checks; сообщения commits — Conventional Commits.
Заголовок каждого коммита заканчивай номером реальной issue этого репозитория:
`<type>[optional scope]: <description> #<issue>`, например
`ci: run full frontend verification #1`. Номер бери из текущей задачи;
если issue не указана, уточни её перед коммитом. Ссылка в body не заменяет
суффикс в заголовке. Формат проверяет `commitlint.config.cjs`.
Code/style checks автоматические только в scope конфигурации. i18n, props,
semantic placement и выбор полезных тестов обязательны при review.
+14 -1
View File
@@ -1 +1,14 @@
module.exports = { extends: ["@commitlint/config-conventional"] };
module.exports = {
extends: ["@commitlint/config-conventional"],
plugins: [
{
rules: {
"header-issue-suffix": ({ header }) => [
/ \S.* #[1-9]\d*$/.test(header ?? ""),
"header must end with an issue number, e.g. ci: run verification #1",
],
},
},
],
rules: { "header-issue-suffix": [2, "always"] },
};