Skip to content

Commit 158f97e

Browse files
committed
add CI for dir size
1 parent 95a1732 commit 158f97e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ jobs:
3434
node_modules/.astro/assets
3535
restore-keys: ${{ runner.os }}-astro-build
3636
- run: bun run build
37+
dirs-small:
38+
name: All dirs must be small (<5MB)
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: cachix/install-nix-action@v31
43+
- run: nix run github:ut-code/internal-helpers#disallow-large-dir contents/articles/*/*
44+
- run: nix run github:ut-code/internal-helpers#disallow-large-dir contents/members/*

0 commit comments

Comments
 (0)