Skip to content

chore: Automate Chromatic and TSDiffer runs#10005

Open
LFDanLu wants to merge 24 commits intomainfrom
tsdiff_script
Open

chore: Automate Chromatic and TSDiffer runs#10005
LFDanLu wants to merge 24 commits intomainfrom
tsdiff_script

Conversation

@LFDanLu
Copy link
Copy Markdown
Member

@LFDanLu LFDanLu commented May 1, 2026

Github actions workflows for Chromatic and TSDiffer. I've tested the TSDiffer flow locally, but the github actions are untested yet. Whole lotta AI stuff here, but I've looked over it and it seems ok

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

RSP

@rspbot
Copy link
Copy Markdown

rspbot commented May 1, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 2, 2026

Comment thread package.json
"version:nightly": "yarn workspaces foreach --all --no-private -t version -d 3.0.0-nightly-$(git rev-parse --short HEAD)-$(date +'%y%m%d') && yarn apply-nightly --all",
"publish:nightly": "yarn workspaces foreach --all --no-private -t npm publish --tag nightly --access public",
"build:api-published": "node scripts/buildPublishedAPI.js",
"build:api-published": "node scripts/buildBranchAPI.js --githash=$(git log --grep='^Publish$' --oneline -1 | awk '{print $1}') --output=base-api",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixes yarn check-published-apis by comparing vs the last publish commit instead of pulling from npm (see #9917 (comment)). base-api here is to point it to a different dist dir since buildBranchAPI uses branch-api by default

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

LFDanLu added 3 commits May 4, 2026 16:18
…ommit rather than just last week

the latter is to handle the case where we run this flow multiple times a day or in the same week and there arent any new changes. Previously it would still use the current weeks diff results rather than reporting that there are no changes
running diff right after new release when there are new changes, running diff between releases, where there are no changes between last run, and when there are no changes from the released code
@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 4, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 5, 2026

@LFDanLu LFDanLu changed the title chore: WIP Automate Chromatic and TSDiffer runs chore: Automate Chromatic and TSDiffer runs May 5, 2026
@LFDanLu LFDanLu marked this pull request as ready for review May 5, 2026 00:01
@rspbot
Copy link
Copy Markdown

rspbot commented May 5, 2026

@rspbot
Copy link
Copy Markdown

rspbot commented May 5, 2026

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.

2 participants