Skip to content

Commit e4cfea0

Browse files
committed
chore(review): take into account some feedback
1 parent aa08d48 commit e4cfea0

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/responsive.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,25 @@ name: Responsive
55
# touches the docs source or this workflow file.
66

77
on:
8-
push:
9-
paths:
10-
- "docs/**"
11-
- "playwright.config.ts"
12-
- "scripts/responsive.pw.ts"
13-
- ".github/workflows/responsive.yml"
148
pull_request:
159
paths:
1610
- "docs/**"
1711
- "playwright.config.ts"
1812
- "scripts/responsive.pw.ts"
19-
- ".github/workflows/responsive.yml"
13+
- ".github/workflows/responsive.yaml"
2014

2115
jobs:
2216
responsive:
2317
name: No horizontal scroll (mobile viewports)
2418
runs-on: ubuntu-latest
2519

2620
steps:
27-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2822

29-
- uses: oven-sh/setup-bun@v2
23+
- uses: oven-sh/setup-bun@ecf28ddc73e819eb6fa29df6b34ef8921c743461 # v2.1.3
3024

3125
- name: Install dependencies
32-
run: bun install
26+
run: bun install --frozen-lockfile
3327

3428
# Build the docs with localhost URLs so the embedded sitemap + internal
3529
# links all resolve against the local preview server.

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Run: bun run docs:test:responsive
55
*
6-
* Tests live in scripts/responsive.spec.ts.
6+
* Tests live in scripts/responsive.pw.ts.
77
* They require a running VitePress preview server (bun run docs:preview).
88
* In CI the server is started by the responsive.yml workflow.
99
*/

0 commit comments

Comments
 (0)