CLAUDE.mdの@参照を削除してコンテキスト使用量を削減 #1010
Workflow file for this run
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: PR Push check | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| build-and-type-check: | |
| name: Build and Type check | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| env: | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup workspace | |
| uses: ./.github/actions/setup-workspace | |
| - name: Pull Vercel Environment | |
| run: | | |
| npx vercel pull --yes --environment=preview --token=$VERCEL_TOKEN | |
| - name: Build | |
| run: | | |
| set -a | |
| source .vercel/.env.preview.local | |
| set +a | |
| # CIビルド確認用のAPP_ENV(実際のデプロイはsetup-preview.ymlで設定) | |
| export APP_ENV="development-ci" | |
| pnpm run build | |
| - name: Type check | |
| run: pnpm run type-check | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup workspace | |
| uses: ./.github/actions/setup-workspace | |
| - name: Lint | |
| run: pnpm run lint |