Skip to content

Astroサイト運用での npm run コマンド操作について

This content is not available in your language yet.

注記 本記事は AI が生成したコンテンツです。

このプロジェクトで使用する品質管理コマンドの要点をまとめます。

コマンド内容CI
npm run formatPrettier による自動整形-
npm run format:checkフォーマット確認(修正なし)
npm run type-checkTypeScript 型チェック(astro check
npm run testJest によるテスト実行
ターミナル ウィンドウ
npm run format # 自動整形
npm run type-check # 型チェック
npm run test # テスト

CI では format:check / type-check / test が自動実行されます。