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
This commit is contained in:
2
.github/actions/setup/action.yml
vendored
2
.github/actions/setup/action.yml
vendored
@@ -6,7 +6,7 @@ inputs:
|
|||||||
node-version:
|
node-version:
|
||||||
description: Node.js version
|
description: Node.js version
|
||||||
required: true
|
required: true
|
||||||
default: 22.6.0
|
default: 23.11.0
|
||||||
pnpm-version:
|
pnpm-version:
|
||||||
description: Pnpm version
|
description: Pnpm version
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -16,7 +16,7 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 22.6.0
|
NODE_VERSION: 23.11.0
|
||||||
PNPM_VERSION: 9.7.1
|
PNPM_VERSION: 9.7.1
|
||||||
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
||||||
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
||||||
|
|||||||
2
.github/workflows/post-release-templates.yml
vendored
2
.github/workflows/post-release-templates.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 22.6.0
|
NODE_VERSION: 23.11.0
|
||||||
PNPM_VERSION: 9.7.1
|
PNPM_VERSION: 9.7.1
|
||||||
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
||||||
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
||||||
|
|||||||
2
.github/workflows/post-release.yml
vendored
2
.github/workflows/post-release.yml
vendored
@@ -12,7 +12,7 @@ on:
|
|||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 22.6.0
|
NODE_VERSION: 23.11.0
|
||||||
PNPM_VERSION: 9.7.1
|
PNPM_VERSION: 9.7.1
|
||||||
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
||||||
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
||||||
|
|||||||
2
.github/workflows/publish-prerelease.yml
vendored
2
.github/workflows/publish-prerelease.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 22.6.0
|
NODE_VERSION: 23.11.0
|
||||||
PNPM_VERSION: 9.7.1
|
PNPM_VERSION: 9.7.1
|
||||||
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
|
||||||
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
NEXT_TELEMETRY_DISABLED: 1 # Disable Next telemetry
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
v22.6.0
|
v23.11.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
pnpm 9.7.1
|
pnpm 9.7.1
|
||||||
nodejs 22.6.0
|
nodejs 23.11.0
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import type { PgTable } from 'drizzle-orm/pg-core'
|
|||||||
import type { SQLiteTable } from 'drizzle-orm/sqlite-core'
|
import type { SQLiteTable } from 'drizzle-orm/sqlite-core'
|
||||||
import type { Payload } from 'payload'
|
import type { Payload } from 'payload'
|
||||||
|
|
||||||
import { GenericTable } from '@payloadcms/drizzle/types'
|
|
||||||
import { sql } from 'drizzle-orm'
|
import { sql } from 'drizzle-orm'
|
||||||
|
|
||||||
import { isMongoose } from './isMongoose.js'
|
import { isMongoose } from './isMongoose.js'
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
NODE_OPTIONS="--no-deprecation"
|
NODE_OPTIONS="--no-deprecation --no-experimental-strip-types"
|
||||||
|
|||||||
Reference in New Issue
Block a user