Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,3 @@ updates:
interval: "weekly"
labels:
- "dependencies"

# Keep runtime/frontend dependencies visible to maintainers without
# opening dozens of near-identical public dependency PRs.
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 3
groups:
minor-and-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"
labels:
- "dependencies"
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ jobs:
- name: "Restore generated radio search index"
id: search_cache
if: steps.scope.outputs.prerender == 'true'
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: public/search/stations.json
key: ${{ runner.os }}-onair-search-v1-${{ hashFiles('public/radio/**/*.json', 'utils/featured-stations.mjs', 'scripts/build-station-search-index.mjs') }}

- name: "Restore generated social preview"
id: social_cache
if: steps.scope.outputs.prerender == 'true'
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: public/brand/social-preview.png
key: ${{ runner.os }}-onair-social-v1-${{ hashFiles('public/brand/social-preview.svg', 'scripts/generate-social-preview.mjs', 'package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion tests/ci-prerender-scope.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test('post-build audit scripts use fast CI while asset-generating scripts still

test('generated search catalog and social preview are restored only for full CI with content-derived keys', async () => {
const yaml = await workflow();
assert.match(yaml, /uses: actions\/cache@v4/);
assert.match(yaml, /uses: actions\/cache@v6/);
assert.match(yaml, /path: public\/search\/stations\.json/);
assert.match(yaml, /hashFiles\('public\/radio\/\*\*\/\*\.json', 'utils\/featured-stations\.mjs', 'scripts\/build-station-search-index\.mjs'\)/);
assert.match(yaml, /path: public\/brand\/social-preview\.png/);
Expand Down
Loading