You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,31 @@ $ npm run build
24
24
25
25
This command generates static content into the `build` directory and can be served using any static contents hosting service.
26
26
27
+
### Reviewing Pull Requests
28
+
29
+
This project uses GitHub Actions to automate building, testing, and generating a preview for pull requests. Here's how you can review pull requests effectively:
30
+
31
+
1.**Open the Pull Request**:
32
+
- Navigate to the **Pull Requests** tab in the repository.
33
+
- Select the PR you want to review.
34
+
35
+
2.**Access the Build Artifact**:
36
+
- Go to the **Actions** tab in the repository.
37
+
- Find the workflow run associated with the pull request (usually named `Pull Request Pipeline`).
38
+
- Scroll down to the **Artifacts** section and download the artifact named `site-preview-pr-<PR_NUMBER>` (e.g., `site-preview-pr-123`).
39
+
40
+
3.**Preview the Changes**:
41
+
- Extract the downloaded artifact.
42
+
- Serve the files locally using a simple HTTP server. For example:
43
+
```bash
44
+
npx http-server <extracted-folder-path> -p 8080
45
+
```
46
+
- Open `http://localhost:8080`in your browser to review the changes.
47
+
48
+
4. **Provide Feedback**:
49
+
- Leave comments or suggestions directly in the pull request under the **Files changed** tab.
50
+
51
+
27
52
### Deployment
28
53
29
54
There is a [pipeline](.github/workflows/deploy.yml) that will deploy anytime that a new commit lands to `main` branch.
0 commit comments