Skip to content

Commit a01c2e7

Browse files
Add build PR instructions
1 parent 40cc15b commit a01c2e7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,15 @@ 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. Rebase on main: `git rebase main`
29+
2. Install dependencies: `yarn install`
30+
3. Build the distribution: `yarn build`
31+
4. Commit the changes to `dist/` if any files were updated
32+
5. Push the branch and create the PR
33+
34+
This ensures the built distribution files in `dist/` are always up to date with the source code.

0 commit comments

Comments
 (0)