Should cache Astro build folders, not dist
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 3m47s

This commit is contained in:
2025-09-08 16:19:46 +09:30
parent 6542cb42a2
commit 513504d175

View File

@@ -16,6 +16,14 @@ jobs:
with: with:
lfs: true lfs: true
- name: Cache Astro build cache folder
uses: actions/cache@v4
with:
path: |
node_modules/.astro/
node_modules/.vite/
key: ${{ runner.os }}-buildcache
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v5 uses: actions/setup-node@v5
with: with:
@@ -27,12 +35,6 @@ jobs:
working-directory: . working-directory: .
run: npm install run: npm install
- name: Cache dist folder
uses: actions/cache@v4
with:
path: dist/
key: ${{ runner.os }}-dist
- name: Build - name: Build
shell: "bash" shell: "bash"
working-directory: . working-directory: .