Skip to content

Commit 0806874

Browse files
authored
Remove Next.js cache on CI (#2616)
1 parent 35eae1a commit 0806874

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/actions/setup-playwright/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
1313
# Cache browser binaries, cache key is based on Playwright version and OS
1414
- name: 🧰 Cache Playwright browser binaries
15-
uses: actions/cache@v3
15+
uses: actions/cache@v4
1616
id: playwright-cache
1717
with:
1818
path: '~/.cache/ms-playwright'

.github/workflows/ci.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ jobs:
3030
run: bun install --frozen-lockfile
3131
env:
3232
PUPPETEER_SKIP_DOWNLOAD: 1
33-
- name: Cache Next.js build
34-
uses: actions/cache@v3
35-
with:
36-
path: |
37-
${{ github.workspace }}/.next/cache
38-
# Generate a new cache whenever packages or source files change.
39-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
40-
# If source files changed but packages didn't, rebuild from a prior cache.
41-
restore-keys: |
42-
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
4333
- name: Sets env vars for production
4434
run: |
4535
echo "SENTRY_ENVIRONMENT=production" >> $GITHUB_ENV

0 commit comments

Comments
 (0)