Commit be7d9c3
committed
ci: add redirect tests to PR preview workflow
Updates the preview workflow to include a new job for testing redirects against the deployed preview URL.
Changes:
- Adds a `test_redirects` job that runs `npx mocha test-redirects.js` using the `preview_url` from the `build_drafts_on` job.
- Configures the redirect tests to run on Node.js 24.x in the `./test/redirects` directory.1 parent 67a7603 commit be7d9c3
File tree
3 files changed
+64
-42
lines changed- .github/workflows
- test/redirects
3 files changed
+64
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments