Skip to content

Commit d6ea7b6

Browse files
authored
Merge branch 'main' into augustin/codemods
Signed-off-by: Claudio Wunder <[email protected]>
2 parents c6761e3 + d7ac93d commit d6ea7b6

File tree

142 files changed

+1151
-781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+1151
-781
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,17 @@ apps/site/pages/en/blog/announcements @nodejs/releasers
4444
# The following users DO NOT have write access, and their review is requested
4545
# via a GitHub action.
4646
apps/site/pages/en/learn/diagnostics @nodejs/diagnostics
47+
4748
apps/site/pages/en/learn/getting-started/security-best-practices.md @nodejs/security-wg
49+
4850
apps/site/pages/en/learn/manipulating-files @nodejs/fs
51+
4952
apps/site/pages/en/learn/test-runner @nodejs/test_runner
53+
5054
apps/site/pages/en/learn/typescript @nodejs/typescript
55+
56+
apps/site/pages/en/about/partners.mdx @nodejs/marketing
57+
apps/site/pages/en/about/branding.mdx @nodejs/marketing
58+
5159
apps/site/pages/en/learn/getting-started/userland-migrations.md @nodejs/userland-migrations
5260
apps/site/pages/en/blog/migrations @nodejs/userland-migrations

.github/workflows/build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
os: [ubuntu-latest, windows-latest]
4141

4242
steps:
43-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
43+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
4444
with:
4545
pnpm: true
4646
use-version-file: true
@@ -67,8 +67,6 @@ jobs:
6767
# this should be a last resort in case by any chances the build memory gets too high
6868
# but in general this should never happen
6969
NODE_OPTIONS: '--max_old_space_size=4096'
70-
# We want to ensure that static exports for all locales do not occur on `pull_request` events
71-
NEXT_PUBLIC_STATIC_EXPORT_LOCALE: ${{ github.event_name == 'push' }}
7270
# See https://github.com/vercel/next.js/pull/81318
7371
TURBOPACK_STATS: ${{ matrix.os == 'ubuntu-latest' }}
7472

@@ -77,3 +75,15 @@ jobs:
7775
with:
7876
name: webpack-stats
7977
path: apps/site/.next/server/webpack-stats.json
78+
79+
- name: Build Next.js (Static Export)
80+
# We want to generate a static build, as it is a requirement of our website.
81+
run: node_modules/.bin/turbo deploy ${{ env.TURBO_ARGS }}
82+
env:
83+
# We want to ensure we have enough RAM allocated to the Node.js process
84+
# this should be a last resort in case by any chances the build memory gets too high
85+
# but in general this should never happen
86+
NODE_OPTIONS: '--max_old_space_size=4096'
87+
# We want to ensure that static exports for all locales do not occur on `pull_request` events
88+
# TODO: The output of this is too large, and it crashes the GitHub Runner
89+
NEXT_PUBLIC_STATIC_EXPORT_LOCALE: false # ${{ github.event_name == 'push' }}

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
url: ${{ steps.chromatic-deploy.outputs.storybookUrl }}
5454

5555
steps:
56-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
56+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
5757
with:
5858
pnpm: true
5959
use-version-file: true

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
analyze:
1717
name: Analyze
18-
uses: nodejs/web-team/.github/workflows/codeql.yml@2c2897a93eb99b4cdca270729100bc0887c758d9
18+
uses: nodejs/web-team/.github/workflows/codeql.yml@9f3c83af227d721768d9dbb63009a47ed4f4282f
1919
permissions:
2020
actions: read
2121
contents: read

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
31+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
3232
with:
3333
pnpm: true
3434
use-version-file: true

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ permissions:
1515

1616
jobs:
1717
dependency-review:
18-
uses: nodejs/web-team/.github/workflows/dependency-review.yml@2c2897a93eb99b4cdca270729100bc0887c758d9
18+
uses: nodejs/web-team/.github/workflows/dependency-review.yml@9f3c83af227d721768d9dbb63009a47ed4f4282f

.github/workflows/lint-and-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444

4545
steps:
46-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
46+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
4747
with:
4848
pnpm: true
4949
use-version-file: true
@@ -100,7 +100,7 @@ jobs:
100100
runs-on: ubuntu-latest
101101

102102
steps:
103-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
103+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
104104
with:
105105
pnpm: true
106106
use-version-file: true

.github/workflows/notify-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
github.actor != 'github-merge-queue[bot]'
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: nodejs/web-team/actions/notify-on-push@2c2897a93eb99b4cdca270729100bc0887c758d9
18+
- uses: nodejs/web-team/actions/notify-on-push@9f3c83af227d721768d9dbb63009a47ed4f4282f
1919
with:
2020
webhook: ${{ secrets.SLACK_WEBHOOK }}

.github/workflows/playwright-cloudflare-open-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
31+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
3232
with:
3333
pnpm: true
3434
use-version-file: true

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555

5656
steps:
57-
- uses: nodejs/web-team/actions/setup-environment@2c2897a93eb99b4cdca270729100bc0887c758d9
57+
- uses: nodejs/web-team/actions/setup-environment@9f3c83af227d721768d9dbb63009a47ed4f4282f
5858
with:
5959
pnpm: true
6060
use-version-file: true

0 commit comments

Comments
 (0)