Skip to content

Commit 8ca5fc6

Browse files
committed
Merge branch 'canary' into renovate/node-22.x-lockfile
2 parents 7a07810 + 8843a96 commit 8ca5fc6

18 files changed

Lines changed: 483 additions & 175 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
container:
1818
image: node:22-slim
1919
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
20+
- name: Checkout Repo
21+
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
22+
with:
23+
fetch-depth: 1
2224
- name: pnpm setup
2325
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
24-
- name: Install packages
25-
run: pnpm install --frozen-lockfile
2626
- name: Run Lint
27-
run: pnpm lint
27+
run: pnpm dlx @biomejs/biome@2.3.11 check .
2828
env:
2929
SKIP_ENV_VALIDATION: true

.github/workflows/pin-dependencies-check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
container:
1818
image: node:22-slim
1919
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
20+
- name: Checkout Repo
21+
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
22+
with:
23+
fetch-depth: 1
24+
- name: pnpm setup
25+
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2226
- name: Check for pinned dependencies
23-
run: npx tsx ./scripts/check-dependency-versions.ts
27+
run: pnpm dlx tsx@4.21.0 ./scripts/check-dependency-versions.ts

.github/workflows/preview-release.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,30 @@ jobs:
1515
image: node:22
1616
steps:
1717
- name: Checkout Repo
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
19+
with:
20+
fetch-depth: 2
21+
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
1922
- name: pnpm setup
2023
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2124
- name: Install packages
22-
run: pnpm install --frozen-lockfile
23-
- name: Run Build
24-
run: pnpm turbo run build --filter=./packages/*
25+
run: pnpm install --frozen-lockfile --prefer-offline
2526
- name: Find changed packages
2627
id: changed_packages
2728
uses: tj-actions/changed-files@6da3c88b60ebf09464ada9b06fba5b6f2d34bb94
2829
with:
2930
files: packages/**
3031
dir_names: true
3132
dir_names_max_depth: 2
33+
- name: Run Build
34+
if: steps.changed_packages.outputs.all_changed_and_modified_files != ''
35+
run: |
36+
pnpm build --filter=[HEAD^1]
37+
env:
38+
SPAM_ASSASSIN_HOST: ${{ secrets.SPAM_ASSASSIN_HOST }}
39+
SPAM_ASSASSIN_PORT: ${{ secrets.SPAM_ASSASSIN_PORT }}
40+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
41+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
3242
- name: Publish changed packages to pkg.pr.new
3343
if: steps.changed_packages.outputs.all_changed_and_modified_files != ''
3444
run: pnpm dlx pkg-pr-new publish ${{ steps.changed_packages.outputs.all_changed_and_modified_files }}

.github/workflows/pull-request-title-check.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ jobs:
1313
container:
1414
image: node:22-slim
1515
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v4
16+
- name: Checkout Repo
17+
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
18+
with:
19+
fetch-depth: 1
20+
- name: pnpm setup
21+
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
1822
- name: Check pull request title
19-
run: |
20-
npx tsx ./scripts/pull-request-title-check.ts
23+
run: pnpm dlx tsx@4.21.0 ./scripts/pull-request-title-check.ts

.github/workflows/release-canary.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
steps:
1717
- name: Checkout Repo
1818
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
19+
with:
20+
fetch-depth: 2
1921
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
2022
- name: pnpm setup
2123
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2224
- name: Install packages
23-
run: pnpm install --frozen-lockfile
25+
run: pnpm install --frozen-lockfile --prefer-offline
2426
- name: Enter prerelease mode
2527
# This step errors if it is already in prerelease mode
2628
continue-on-error: true

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ jobs:
1515
steps:
1616
- name: Checkout Repo
1717
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
18+
with:
19+
fetch-depth: 2
1820
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
1921
- name: pnpm setup
2022
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2123
- name: Install packages
22-
run: pnpm install --frozen-lockfile
24+
run: pnpm install --frozen-lockfile --prefer-offline
2325
- name: Exit prerelease mode
2426
# This step errors if it is not in prerelease mode
2527
continue-on-error: true

.github/workflows/tests.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,31 @@ permissions:
1414
jobs:
1515
tests:
1616
runs-on: buildjet-4vcpu-ubuntu-2204
17-
outputs:
18-
cache-hit: ${{ steps.pnpm-cache.outputs.cache-hit }}
1917
container:
20-
image: node:22-slim
18+
image: node:22
2119
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
20+
- name: Checkout Repo
21+
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
22+
with:
23+
fetch-depth: 2
24+
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
2425
- name: pnpm setup
2526
uses: pnpm/action-setup@1e1c8eafbd745f64b1ef30a7d7ed7965034c486c
2627
- name: Install packages
27-
run: pnpm install --frozen-lockfile
28+
run: pnpm install --frozen-lockfile --prefer-offline
2829
- name: Run Build
29-
run: pnpm build
30-
# We include the environment variables here so that the cache for turborepo
31-
# is not invalidated and builds are re-ran
30+
run: |
31+
pnpm build --filter=[HEAD^1]
3232
env:
3333
SPAM_ASSASSIN_HOST: ${{ secrets.SPAM_ASSASSIN_HOST }}
3434
SPAM_ASSASSIN_PORT: ${{ secrets.SPAM_ASSASSIN_PORT }}
35+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
36+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
3537
- name: Run Tests
36-
run: pnpm test
38+
run: |
39+
pnpm test --filter=[HEAD^1]
3740
env:
3841
SPAM_ASSASSIN_HOST: ${{ secrets.SPAM_ASSASSIN_HOST }}
3942
SPAM_ASSASSIN_PORT: ${{ secrets.SPAM_ASSASSIN_PORT }}
43+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
44+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

apps/docs/docs.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@
5353
"group": "Internationalization",
5454
"icon": "earth-americas",
5555
"pages": [
56-
"guides/internationalization/react-intl",
57-
"guides/internationalization/react-i18next"
56+
"guides/internationalization/next-intl",
57+
"guides/internationalization/react-i18next",
58+
"guides/internationalization/react-intl"
5859
]
5960
}
6061
]

0 commit comments

Comments
 (0)