合同新歓の記事と自己紹介の修正 #513
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: Check | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.5 | |
| - run: bun install --frozen-lockfile | |
| - run: bun check | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3 | |
| - run: bun install --frozen-lockfile | |
| - uses: actions/cache@v4 | |
| with: | |
| key: ${{ runner.os }}-astro-build | |
| path: | | |
| .astro | |
| dist | |
| node_modules/.astro/assets | |
| restore-keys: ${{ runner.os }}-astro-build | |
| - run: bun run build | |
| dirs-small: | |
| name: All dirs must be small (<5MB) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@v31 | |
| - run: nix run github:ut-code/internal-helpers#disallow-large-dir contents/articles/*/* | |
| - run: nix run github:ut-code/internal-helpers#disallow-large-dir contents/members/*/* |