Skip to content

Commit 402cc74

Browse files
Add build PR instructions
1 parent 40cc15b commit 402cc74

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CLAUDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,16 @@ When implemented, this will likely be a GitHub Action with:
2020
- CI/CD workflows in `.github/workflows/`
2121
- Documentation in `README.md` files
2222
- Linting with ESLint and Prettier
23+
24+
## Pull Request Workflow
25+
26+
When raising a PR, follow these steps to ensure the "check dist is up to date" build step passes:
27+
28+
1. Fetch latest changes: `git fetch`
29+
2. Rebase on main: `git rebase origin/main`
30+
3. Install dependencies: `yarn install`
31+
4. Build the distribution: `yarn build`
32+
5. Commit the changes to `dist/` if any files were updated
33+
6. Push the branch and create the PR
34+
35+
This ensures the built distribution files in `dist/` are always up to date with the source code.

0 commit comments

Comments
 (0)