Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/continuation-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Continuation source audit

on:
push:
branches:
- agent/mobile-verification-harness

permissions:
contents: read

jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Repository orientation
shell: bash
run: |
echo "HEAD=$(git rev-parse HEAD)"
echo "BRANCH=$(git branch --show-current)"
git status --short --branch
echo "--- HANDOFF AND TODO FILES ---"
find . -type f \
\( -iname '*todo*' -o -iname '*handoff*' -o -iname '*contract*' \) \
-not -path './node_modules/*' \
-not -path './.git/*' \
| sort

- name: Visible em dash candidates
shell: bash
run: |
echo "--- EM DASH CANDIDATES IN RENDERED SOURCE ---"
grep -RIn --include='*.tsx' --include='*.ts' --include='*.jsx' --include='*.js' \
--exclude-dir=node_modules --exclude-dir=.next --exclude-dir=FRONTEND \
$'—' app components lib 2>/dev/null || true

- name: Native select candidates
shell: bash
run: |
echo "--- NATIVE SELECT CANDIDATES ---"
grep -RIn --include='*.tsx' --include='*.jsx' \
--exclude-dir=node_modules --exclude-dir=.next --exclude-dir=FRONTEND \
'<select\|</select>' app components 2>/dev/null || true

- name: Unrelated catalogue wording candidates
shell: bash
run: |
echo "--- NON PERFUME CATALOGUE WORDING ---"
grep -RInEi --include='*.tsx' --include='*.ts' --include='*.jsx' --include='*.js' \
--exclude-dir=node_modules --exclude-dir=.next --exclude-dir=FRONTEND \
'watches|wristwatches|eyeglasses|sunglasses' app components lib 2>/dev/null || true
51 changes: 51 additions & 0 deletions .github/workflows/storefront-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Storefront E2E

on:
pull_request:
branches:
- main
workflow_dispatch:

permissions:
contents: read

jobs:
playwright:
runs-on: ubuntu-latest
timeout-minutes: 20
defaults:
run:
working-directory: e2e
env:
E2E_BASE_URL: ${{ vars.E2E_BASE_URL || 'https://9thluxe-store-two.vercel.app' }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: e2e/package-lock.json

- name: Install test dependencies
run: npm ci

- name: Install Chromium
run: npx playwright install --with-deps chromium

- name: Run storefront verification
run: npm test

- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v4
with:
name: storefront-playwright-report
path: |
e2e/playwright-report
e2e/test-results
if-no-files-found: ignore
retention-days: 14
Loading
Loading