Skip to content

Commit 4e8679a

Browse files
committed
Upgrade to Node 23
1 parent b43422d commit 4e8679a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
23

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616

1717
frontend:
1818
command: npm start
19-
image: node:16
19+
image: node:23
2020
user: node
2121
volumes:
2222
- type: bind

docs/guides/automated-tests.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Here is a practical example of combining [Pa11y](https://pa11y.org/) and django-
100100

101101
```yaml
102102
static:
103-
image: node:16
103+
image: node:22
104104
stage: build
105105
script:
106106
- npm ci
@@ -182,7 +182,10 @@ let urls = [];
182182
// In CI mode, retrieve the URLs to test from dpl-rendered-patterns.
183183
if (process.env.CI) {
184184
const list = path.join(__dirname, "dpl-rendered-patterns", "dpl-list.txt");
185-
const patterns = fs.readFileSync(list, "utf-8").split("\n").filter((p) => p);
185+
const patterns = fs
186+
.readFileSync(list, "utf-8")
187+
.split("\n")
188+
.filter((p) => p);
186189
187190
urls = patterns.map((p) => `${origin}/${p.replace("patterns/", "")}`);
188191
}

0 commit comments

Comments
 (0)