diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml index 52a77469b1..981ba00d5c 100644 --- a/.github/workflows/build-preview.yml +++ b/.github/workflows/build-preview.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c7e959b4a..52a4eb555f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Corepack enable + - name: Corepack enable run: corepack enable - + - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'yarn' - name: Install dependencies @@ -51,7 +51,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 249a2ae997..d4be94de58 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' - name: Get Token uses: actions/create-github-app-token@v1 diff --git a/.github/workflows/production-deployment.yml b/.github/workflows/production-deployment.yml index 5480e59a07..a5ff7f2b7b 100644 --- a/.github/workflows/production-deployment.yml +++ b/.github/workflows/production-deployment.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'yarn' - name: Install dependencies diff --git a/.github/workflows/validate-tooling-data.yml b/.github/workflows/validate-tooling-data.yml index 5ec227928a..85259d731a 100644 --- a/.github/workflows/validate-tooling-data.yml +++ b/.github/workflows/validate-tooling-data.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' - name: Install dependencies run: yarn add ajv ajv-formats js-yaml diff --git a/Dockerfile b/Dockerfile index ed9ac7892c..86d5a3f83d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:24-alpine WORKDIR /app diff --git a/components/Code.tsx b/components/Code.tsx index 7460fa4e8f..7c5c2524af 100644 --- a/components/Code.tsx +++ b/components/Code.tsx @@ -7,11 +7,16 @@ export default function Code({ children }: { children: any }) { const blockContext = useContext(BlockContext); return ( {children} diff --git a/components/Headlines.tsx b/components/Headlines.tsx index 73dbedc930..1c8ef480c0 100644 --- a/components/Headlines.tsx +++ b/components/Headlines.tsx @@ -66,7 +66,7 @@ const Headline = ({ ...propAttributes, id: propAttributes?.slug || slug, className: cn( - 'group cursor-pointer hover:underline', + 'group cursor-pointer hover:underline scroll-mt-28', isActive && 'text-startBlue dark:text-startBlue', propAttributes?.className, ), @@ -97,7 +97,7 @@ const Headline1Tag = ({ children, attributes }: TagProps) => (

@@ -108,7 +108,7 @@ const Headline2Tag = ({ children, attributes }: TagProps) => (

@@ -119,7 +119,7 @@ const Headline3Tag = ({ children, attributes }: TagProps) => (

@@ -130,7 +130,7 @@ const Headline4Tag = ({ children, attributes }: TagProps) => (

diff --git a/components/StyledMarkdownBlock.tsx b/components/StyledMarkdownBlock.tsx index eacebbf087..1bbeb2ccb5 100644 --- a/components/StyledMarkdownBlock.tsx +++ b/components/StyledMarkdownBlock.tsx @@ -48,7 +48,7 @@ export const StyledMarkdownBlock = ({ markdown }: StyledMarkdownBlockProps) => { }, p: { component: ({ children }) => ( -

+

{children}

), @@ -109,21 +109,21 @@ export const StyledMarkdownBlock = ({ markdown }: StyledMarkdownBlockProps) => { }, ol: { component: ({ children }) => ( -
    {children}
+
    + {children} +
), }, ul: { component: ({ children }) => ( -