Skip to content

Commit 140c3fe

Browse files
authored
May 2026 updates (#114)
- Add May 2026 event - Update dependencies - Swap `eleventy-auto-cache-buster` for `@mightyplow/eleventy-plugin-cache-buster` - Update GitHub workflow actions and workflow node versions
1 parent c7a3ed1 commit 140c3fe

6 files changed

Lines changed: 382 additions & 477 deletions

File tree

.eleventy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const inclusiveLangPlugin = require("@11ty/eleventy-plugin-inclusive-language");
2-
const cacheBuster = require("@mightyplow/eleventy-plugin-cache-buster");
2+
const eleventyAutoCacheBuster = require("eleventy-auto-cache-buster");
33
const pluginSitemap = require("@quasibit/eleventy-plugin-sitemap");
44
const { minify: htmlMinify } = require("html-minifier-terser");
55
const { minify } = require("terser");
@@ -38,7 +38,7 @@ module.exports = function (eleventyConfig) {
3838
eleventyConfig.addPlugin(inclusiveLangPlugin);
3939

4040
if (isProduction) {
41-
eleventyConfig.addPlugin(cacheBuster({ outputDirectory: "dist" }));
41+
eleventyConfig.addPlugin(eleventyAutoCacheBuster);
4242

4343
eleventyConfig.addTransform("htmlmin", function (content, outputPath) {
4444
if (outputPath && outputPath.endsWith(".html")) {

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v5
9+
- uses: actions/checkout@v6
1010
- name: Setup node
11-
uses: actions/setup-node@v4
11+
uses: actions/setup-node@v6
1212
with:
13-
node-version: 22
13+
node-version: 24
1414
- name: Install dependencies
1515
run: npm ci
1616
- name: Check formatting

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@v6
1111
- name: Setup node
12-
uses: actions/setup-node@v4
12+
uses: actions/setup-node@v6
1313
with:
14-
node-version: 22
14+
node-version: 24
1515
- name: Install dependencies
1616
run: npm ci
1717
- name: Check formatting

0 commit comments

Comments
 (0)