From 3f8d0c8043e2aaac7dfd5772105356e14f9e1798 Mon Sep 17 00:00:00 2001 From: tknkaa Date: Sun, 9 Aug 2026 18:52:14 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20PR=E3=83=96=E3=83=A9=E3=83=B3=E3=83=81?= =?UTF-8?q?=E3=81=94=E3=81=A8=E3=81=AE=E3=82=AD=E3=83=A3=E3=83=83=E3=82=B7?= =?UTF-8?q?=E3=83=A5=E6=9B=B8=E3=81=8D=E8=BE=BC=E3=81=BF=E3=82=92=E3=82=84?= =?UTF-8?q?=E3=82=81=E3=81=A6main=E7=94=A8=E3=82=AD=E3=83=A3=E3=83=83?= =?UTF-8?q?=E3=82=B7=E3=83=A5=E3=81=AE=E8=BF=BD=E3=81=84=E5=87=BA=E3=81=97?= =?UTF-8?q?=E3=82=92=E9=98=B2=E3=81=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5 --- .github/workflows/check.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0b918319..19429500 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,7 +25,8 @@ jobs: with: bun-version: 1.3 - run: bun install --frozen-lockfile - - uses: actions/cache@v4 + - id: astro-cache + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-astro-build path: | @@ -34,6 +35,14 @@ jobs: node_modules/.astro/assets restore-keys: ${{ runner.os }}-astro-build - run: bun run build + - if: github.ref == 'refs/heads/main' && steps.astro-cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + key: ${{ runner.os }}-astro-build + path: | + .astro + dist + node_modules/.astro/assets dirs-small: name: All dirs must be small (<5MB) runs-on: ubuntu-latest