feat: upgrade Node.js support to include Node 22 (#9503)

This commit is contained in:
codegen-sh[bot]
2025-06-28 10:47:14 -04:00
committed by GitHub
parent 879c568a2c
commit 2a962efe57
4 changed files with 9 additions and 8 deletions
+6 -6
View File
@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint
@@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn tsc
@@ -92,7 +92,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test:${{ matrix.test-group }}
@@ -134,7 +134,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn sequelize db:migrate
@@ -151,7 +151,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
- name: Set environment to production
+1
View File
@@ -0,0 +1 @@
22
+1 -1
View File
@@ -6,7 +6,7 @@ ARG APP_PATH
WORKDIR $APP_PATH
# ---
FROM node:20-slim AS runner
FROM node:22-slim AS runner
LABEL org.opencontainers.image.source="https://github.com/outline/outline"
+1 -1
View File
@@ -39,7 +39,7 @@
"url": "https://github.com/sponsors/outline"
},
"engines": {
"node": ">= 18 <=20"
"node": ">= 20 <=22"
},
"repository": {
"type": "git",