Update KnowledgePost.tsx #15
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
| name: CI on Pull Request | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ソースコードのダウンロード | |
| uses: actions/checkout@v4 | |
| - name: Node.js のセットアップ | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: 依存関係のインストール | |
| run: npm ci | |
| - name: ビルドが成功するか? | |
| run: npm run build | |
| - name: テストが成功するか? | |
| run: npm run test | |
| - name: 非推奨なコードが存在しないか? | |
| run: npm run check:ci |