Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/instructions/project-architecture.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ Google Drive (www.nahcnuj.work)
| **e2e** | Ubuntu | E2E テスト (Playwright) |
| **vrt** | Windows | Visual Regression (Playwright) |
| **lint** | Ubuntu | Biome linter |
| **textlint** | Ubuntu | 日本語テキスト品質 |

### 4. VRT(Visual Regression Testing)の詳細

Expand Down Expand Up @@ -186,7 +185,6 @@ tests/e2e/math-rendering.vrt.test.ts-snapshots/

### 開発ツール
- `biome` - Linter + Formatter(Rust ベース)
- `textlint` - 日本語テキスト品質チェック

## ⚙️ npm スクリプト

Expand All @@ -196,9 +194,7 @@ tests/e2e/math-rendering.vrt.test.ts-snapshots/
"dev:expose": "vite --host", # ネットワーク外部公開
"build": "vite build --mode client && vite build", # SSG ビルド
"lint": "biome lint .", # Linting
"lint:fix": "npm run lint:biome:fix && npm run lint:text:fix",
"lint:text": "textlint -f pretty-error ./app/routes/**/*.mdx",
"lint:text:fix": "textlint --fix ./app/routes/**/*.mdx",
"lint:fix": "npm run lint:biome:fix",
"test": "vitest run", # 単体テスト
"test:e2e": "vitest run --config vitest.config.e2e.ts",
"test:vrt": "playwright test --config playwright.config.ts" # VRT テスト
Expand Down Expand Up @@ -249,9 +245,6 @@ GitHub Actions: ci.yml triggered
├─ lint job (needs: prepare)
│ └─ Biome linting
└─ textlint job (needs: prepare)
└─ 日本語テキスト品質
```

**重要**: VRT テストは **Windows 環境で実行** され、スナップショット比較に失敗すると CI は失敗します。
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,24 +191,3 @@ jobs:
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}

textlint:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Download workspace
uses: actions/download-artifact@v8
with:
name: workspace
path: .
- name: Install dependencies
run: npm ci --ignore-scripts --prefer-offline
- name: Check
run: npm run lint:text
continue-on-error: true
6 changes: 0 additions & 6 deletions .textlintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .textlintrc.json

This file was deleted.

Loading