Skip to content

Commit 14b61fa

Browse files
committed
Update build scripts to use node v22
This is still supported, unlike v20. It also allows the latest pnpm (v11) to be used in the angular test.
1 parent 861b9f2 commit 14b61fa

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

.changeset/tall-zoos-serve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@lblod/embeddable-say-editor": patch
3+
---
4+
5+
Update build process to use node v22

.woodpecker/.verify-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
steps:
22
install:
3-
image: node:20-slim
3+
image: node:22-slim
44
commands:
55
- npm i -g corepack@0.31
66
- pnpm i --frozen-lockfile
77
lint-js:
8-
image: node:20-slim
8+
image: node:22-slim
99
group: lint
1010
commands:
1111
- npm i -g corepack@0.31
1212
- pnpm lint:js
1313
lint-hbs:
14-
image: node:20-slim
14+
image: node:22-slim
1515
group: lint
1616
commands:
1717
- npm i -g corepack@0.31
1818
- pnpm lint:hbs
1919
dependency-lint:
20-
image: node:20-slim
20+
image: node:22-slim
2121
group: lint
2222
commands:
2323
- npm i -g corepack@0.31

embeddable-say-editor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE Needs to be built with the root of the monorepo as the context
2-
FROM node:lts-iron AS builder
2+
FROM node:22-trixie AS builder
33

44
LABEL maintainer="info@redpencil.io"
55

test-angular/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# It would be nice to do this as just a step of the test-app build, but since the steps have no
44
# input in the final image the builder optimises them out.
55
# NOTE Needs to be built with the root of the monorepo as the context
6-
FROM node:lts-iron AS builder
6+
FROM node:22-trixie AS builder
77

88
LABEL maintainer="info@redpencil.io"
99

@@ -22,7 +22,7 @@ RUN pnpm pack
2222
RUN mv lblod-embeddable-say-editor-*.tgz lblod-embeddable-say-editor.tgz
2323

2424
# Test the types in the angular app
25-
FROM node:lts-iron AS types
25+
FROM node:22-trixie AS types
2626
WORKDIR /app
2727
RUN npm i -g corepack@0.31
2828
# put angular app into /app and ignore the rest of the repo to avoid false positives

0 commit comments

Comments
 (0)