feat: change cache path
This commit is contained in:
@@ -31,12 +31,11 @@ jobs:
|
|||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
node_modules/.cache
|
.astro
|
||||||
.astro/cache
|
node_modules/.vite
|
||||||
key: ${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-${{ github.sha }}
|
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-
|
${{ runner.os }}-astro-
|
||||||
${{ runner.os }}-astro-cache-
|
|
||||||
|
|
||||||
- name: Lint Code
|
- name: Lint Code
|
||||||
run: bun run lint
|
run: bun run lint
|
||||||
|
|||||||
@@ -31,12 +31,11 @@ jobs:
|
|||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
node_modules/.cache
|
.astro
|
||||||
.astro/cache
|
node_modules/.vite
|
||||||
key: ${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-${{ github.sha }}
|
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-
|
${{ runner.os }}-astro-
|
||||||
${{ runner.os }}-astro-cache-
|
|
||||||
|
|
||||||
- name: Lint Code
|
- name: Lint Code
|
||||||
run: bun run lint
|
run: bun run lint
|
||||||
|
|||||||
@@ -33,12 +33,11 @@ jobs:
|
|||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
node_modules/.cache
|
.astro
|
||||||
.astro/cache
|
node_modules/.vite
|
||||||
key: ${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-${{ github.sha }}
|
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-astro-cache-${{ hashFiles('**/bun.lockb') }}-
|
${{ runner.os }}-astro-
|
||||||
${{ runner.os }}-astro-cache-
|
|
||||||
|
|
||||||
- name: Lint Code
|
- name: Lint Code
|
||||||
run: bun run lint
|
run: bun run lint
|
||||||
|
|||||||
Reference in New Issue
Block a user