Skip to content

Commit 8e8e518

Browse files
committed
update node to 26, fix docker image
1 parent 0b05cfb commit 8e8e518

5 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
2626
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2727
with:
28-
node-version: 25
28+
node-version: 26
2929

3030
- name: find pnpm cache path
3131
id: cache
@@ -56,7 +56,7 @@ jobs:
5656
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
5757
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5858
with:
59-
node-version: 25
59+
node-version: 26
6060

6161
- name: find pnpm cache path
6262
id: cache
@@ -85,7 +85,7 @@ jobs:
8585
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
8686
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
8787
with:
88-
node-version: 25
88+
node-version: 26
8989

9090
- name: find pnpm cache path
9191
id: cache

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:25-alpine AS base
1+
FROM node:26-alpine AS base
22

33
WORKDIR /app
44

@@ -42,10 +42,8 @@ RUN --mount=type=cache,id=s/c47f3895-fff0-42c4-b1f7-cee7f61e6613-pnpm,target=/pn
4242

4343
FROM base
4444

45-
COPY src/ src/
4645
COPY package.json pnpm-workspace.yaml ./
4746

48-
COPY ./src/ src/
4947
COPY --from=build /app/dist dist/
5048
COPY --from=docs /app/redoc-static.html .
5149

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
node = "25"
2+
node = "26"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"homepage": "https://arm.haglund.dev/docs",
99
"packageManager": "pnpm@11.1.2",
1010
"engines": {
11-
"node": "^25"
11+
"node": "^26"
1212
},
1313
"simple-git-hooks": {
1414
"pre-commit": "node_modules/.bin/nano-staged"

tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import pkgJson from "./package.json" with { type: "json" }
55
export default defineConfig({
66
entry: ["src/index.ts", "src/migrations/*.ts"],
77
outDir: "dist",
8-
inlineOnly: false,
8+
deps: { onlyBundle: false },
99

1010
env: {
1111
NODE_ENV: process.env.NODE_ENV ?? "production",
@@ -18,7 +18,7 @@ export default defineConfig({
1818
minify: true,
1919
sourcemap: true,
2020
platform: "node",
21-
target: ["node25"],
21+
target: ["node26"],
2222
format: ["esm"],
2323
fixedExtension: true,
2424
})

0 commit comments

Comments
 (0)