Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["24", "26"]
# Verify the declared Node 22 minimum plus the newer supported major lines.
node: ["22.18.0", "24", "26"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
Expand All @@ -32,6 +33,8 @@ jobs:
- run: pnpm format:check
- run: pnpm typecheck
- run: pnpm build
- run: pnpm test:core
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm test
- run: pnpm pack:tanstack
- run: pnpm test:e2e
- if: matrix.node == '24'
run: pnpm pack:tanstack
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"build": "turbo run build",
"build:package": "pnpm --filter @module-federation/tanstack build",
"dev": "pnpm build:package && turbo run dev",
"test": "pnpm build && node --test --test-concurrency=1 test/*.test.mjs",
"test": "pnpm build && pnpm test:core && pnpm test:e2e",
"test:core": "node --test --test-concurrency=1 test/*.test.mjs",
"test:e2e": "node --test --test-concurrency=1 test/e2e/*.test.mjs",
"typecheck": "turbo run typecheck",
"format": "prettier --write .",
"format:check": "prettier --check .",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Production builds served by `vite preview` and `rsbuild preview`.
import { describeExamples } from "./support/examples.mjs";
import { describeExamples } from "../support/examples.mjs";

describeExamples("preview");
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Development servers: Vite and Rsbuild dev servers with in-memory builds.
import { describeExamples } from "./support/examples.mjs";
import { describeExamples } from "../support/examples.mjs";

describeExamples("start");
2 changes: 1 addition & 1 deletion test/release-contracts.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ test("CI uses Node versions supported by the package build toolchain", () => {
const supportedNode = "^22.18.0 || ^24.11.0 || >=26.0.0";
assert.equal(rootPackageJson.engines.node, supportedNode);
assert.equal(packageJson.engines.node, supportedNode);
assert.match(ciWorkflow, /node: \["24", "26"\]/);
assert.match(ciWorkflow, /node: \["22\.18\.0", "24", "26"\]/);
assert.doesNotMatch(ciWorkflow, /22\.12\.0/);
});

Expand Down