Skip to content

Commit 021932c

Browse files
authored
chore: bump node version in monorepo and add new flag for node 23.6+ (#12328)
This PR does two things: - Adds a new ` --no-experimental-strip-types` flag to the playwright test env - This is needed since 23.6.0 automatically enables this flag by default and it breaks e2e tests - Bumps the tooling config files to use node 23.11.0
1 parent edeb381 commit 021932c

File tree

10 files changed

+9
-10
lines changed

10 files changed

+9
-10
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
node-version:
77
description: Node.js version
88
required: true
9-
default: 22.6.0
9+
default: 23.11.0
1010
pnpm-version:
1111
description: Pnpm version
1212
required: true

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
env:
19-
NODE_VERSION: 22.6.0
19+
NODE_VERSION: 23.11.0
2020
PNPM_VERSION: 9.7.1
2121
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
2222
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry

.github/workflows/post-release-templates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
NODE_VERSION: 22.6.0
10+
NODE_VERSION: 23.11.0
1111
PNPM_VERSION: 9.7.1
1212
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
1313
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry

.github/workflows/post-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
default: ''
1313

1414
env:
15-
NODE_VERSION: 22.6.0
15+
NODE_VERSION: 23.11.0
1616
PNPM_VERSION: 9.7.1
1717
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
1818
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry

.github/workflows/publish-prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
NODE_VERSION: 22.6.0
10+
NODE_VERSION: 23.11.0
1111
PNPM_VERSION: 9.7.1
1212
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
1313
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.6.0
1+
v23.11.0

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.6.0
1+
v23.11.0

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pnpm 9.7.1
2-
nodejs 22.6.0
2+
nodejs 23.11.0

test/helpers/snapshot.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type { PgTable } from 'drizzle-orm/pg-core'
44
import type { SQLiteTable } from 'drizzle-orm/sqlite-core'
55
import type { Payload } from 'payload'
66

7-
import { GenericTable } from '@payloadcms/drizzle/types'
87
import { sql } from 'drizzle-orm'
98

109
import { isMongoose } from './isMongoose.js'

test/test.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NODE_OPTIONS="--no-deprecation"
1+
NODE_OPTIONS="--no-deprecation --no-experimental-strip-types"

0 commit comments

Comments
 (0)