Skip to content

Add check-dist workflow to validate the distribution code#5

Merged
jozefizso merged 2 commits intomainfrom
dist_workflow
Mar 23, 2026
Merged

Add check-dist workflow to validate the distribution code#5
jozefizso merged 2 commits intomainfrom
dist_workflow

Conversation

@jozefizso
Copy link
Copy Markdown
Member

No description provided.

@jozefizso jozefizso added this to the v2 milestone Mar 23, 2026
@jozefizso jozefizso self-assigned this Mar 23, 2026
@jozefizso jozefizso added the enhancement New feature or request label Mar 23, 2026
@jozefizso jozefizso merged commit 3c878da into main Mar 23, 2026
1 check passed
Copy link
Copy Markdown

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

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: 96ca345083

ℹ️ 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".


- name: validate distribution code
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
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 Detect untracked files in dist validation

The validate distribution code check only inspects git diff dist/, which ignores untracked files; this means the workflow can pass even when npm run build creates new files in dist/ (for example, a newly generated artifact) that were never committed. Because this workflow is intended to enforce that generated distribution output is fully committed, missing untracked artifacts is a correctness gap in the guard.

Useful? React with 👍 / 👎.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant