modified: .github/workflows/cicd.yml

modified:   .github/workflows/linting.yml
	modified:   .github/workflows/test.yml
	modified:   .nvmrc
	modified:   Dockerfile.dev
	modified:   Dockerfile.pg
	modified:   Dockerfile.sqlite
	modified:   esbuild.mjs
	modified:   package-lock.json
	modified:   tsconfig.json
This commit is contained in:
Marvin
2025-07-26 14:17:55 +00:00
parent 5f75813e84
commit 39c43c0c09
10 changed files with 20 additions and 2707 deletions

View File

@@ -30,7 +30,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.0
go-version: 1.24
- name: Update version in package.json
run: |

View File

@@ -23,7 +23,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Install dependencies
run: |

View File

@@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Copy config file
run: cp config/config.example.yml config/config.yml

2
.nvmrc
View File

@@ -1 +1 @@
20
22

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine
WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
@@ -15,7 +15,7 @@ RUN npx drizzle-kit generate --dialect postgresql --schema ./server/db/pg/schema
RUN npm run build:pg
RUN npm run build:cli
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
@@ -15,7 +15,7 @@ RUN npx drizzle-kit generate --dialect sqlite --schema ./server/db/sqlite/schema
RUN npm run build:sqlite
RUN npm run build:cli
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

View File

@@ -64,7 +64,7 @@ esbuild
}),
],
sourcemap: true,
target: "node20",
target: "node22",
})
.then(() => {
console.log("Build completed successfully");

2705
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@
"name": "next"
}
],
"target": "ES2017"
"target": "ES2022"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]