Should cache Astro build folders, not dist
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 3m47s
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 3m47s
This commit is contained in:
@@ -16,6 +16,14 @@ jobs:
|
||||
with:
|
||||
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
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
@@ -27,12 +35,6 @@ jobs:
|
||||
working-directory: .
|
||||
run: npm install
|
||||
|
||||
- name: Cache dist folder
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: dist/
|
||||
key: ${{ runner.os }}-dist
|
||||
|
||||
- name: Build
|
||||
shell: "bash"
|
||||
working-directory: .
|
||||
|
Reference in New Issue
Block a user