Skip to content

Commit c0f267d

Browse files
committed
Remove smoke test
1 parent 915a9dc commit c0f267d

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -32,59 +32,6 @@ jobs:
3232
- name: ⚡ Run vitest
3333
run: pnpm test -- --coverage
3434

35-
production-smoke:
36-
name: 🚬 Production smoke
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: ⬇️ Checkout repo
40-
uses: actions/checkout@v4
41-
42-
- name: 📦 Setup pnpm
43-
uses: pnpm/action-setup@v4
44-
45-
- name: ⎔ Setup node
46-
uses: actions/setup-node@v4
47-
with:
48-
node-version: 24
49-
cache: pnpm
50-
51-
- name: 📥 Install deps
52-
run: pnpm install --frozen-lockfile
53-
54-
- name: 🏗️ Build app
55-
run: pnpm run build
56-
57-
- name: 🚬 Smoke critical endpoints in preview
58-
run: |
59-
set -euo pipefail
60-
pnpm run start > /tmp/preview.log 2>&1 &
61-
PREVIEW_PID=$!
62-
trap 'kill "$PREVIEW_PID" 2>/dev/null || true' EXIT
63-
64-
for _ in $(seq 1 30); do
65-
if curl -fsS http://localhost:3000/healthcheck >/tmp/healthcheck.out; then
66-
break
67-
fi
68-
if ! kill -0 "$PREVIEW_PID" 2>/dev/null; then
69-
echo "Preview server exited before becoming ready"
70-
cat /tmp/preview.log
71-
exit 1
72-
fi
73-
sleep 1
74-
done
75-
76-
if ! curl -fsS http://localhost:3000/healthcheck | grep -qx "OK"; then
77-
echo "Unexpected /healthcheck response"
78-
cat /tmp/preview.log
79-
exit 1
80-
fi
81-
82-
if ! curl -fsS http://localhost:3000/blog/rss.xml | grep -q "<rss"; then
83-
echo "Unexpected /blog/rss.xml response"
84-
cat /tmp/preview.log
85-
exit 1
86-
fi
87-
8835
e2e:
8936
name: 🎭 Playwright
9037
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)