Skip to content

chore(ci): add test workflow - #91

Merged
chenjiahan merged 6 commits into
mainfrom
chenjiahan/add-test-ci
Aug 18, 2026
Merged

chore(ci): add test workflow#91
chenjiahan merged 6 commits into
mainfrom
chenjiahan/add-test-ci

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

The repository's test workflow has been disabled since 2024, leaving pull requests without automated test coverage. This PR replaces the inactive workflow with a Test workflow aligned with rsbuild-plugin-template, running node --run test on Ubuntu and Windows with Node.js 24.19.0. The workflow currently exposes existing test setup failures, which are intentionally left for follow-up changes.

Related Links

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0aabb578f4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/test.yml

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f2d776cc2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread spec/example.spec.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8edc34712

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/custom-template/webpack.config.js Outdated
@chenjiahan
chenjiahan merged commit cbecd9b into main Aug 18, 2026
6 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/add-test-ci branch August 18, 2026 02:11

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ed9fafee4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

rules: [
{ test: /\.css$/, type: 'css' },
{ test: /\.png$/, type: 'asset/resource' },
{ test: /partial\.html$/, type: 'asset/source' },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Process asset URLs in the JavaScript template partials

When build-examples builds the javascript or javascript-advanced example, asset/source returns partial.html verbatim, including <img src="logo.png">; neither example entry imports that image, so no logo.png asset is emitted and the generated page has a broken image. The previous html-loader rule emitted the image and replaced this URL, so these partials still need asset-aware processing or an explicit emitted URL.

Useful? React with 👍 / 👎.

module: {
rules: [
{ test: /\.css$/, type: 'css' },
{ test: /\.png$/, type: 'asset/resource' },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore asset handling for the sort-manually template

When the sort-manually example is built, this rules list no longer processes template.html, so its <img src="logo.png"> remains unchanged while none of the entry modules imports the image; consequently the output omits the logo asset and both generated pages reference a missing file. Preserve the previous asset-aware HTML processing or explicitly import and interpolate the emitted logo URL.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant