- Next.js: 15.3.4
- Playwright: 1.53.0
- BrowserStack SDK: 1.42.7
-
Install dependencies (using pnpm):
pnpm install
-
Start development server:
pnpm dev
App will be available at http://localhost:3000
-
Build for production:
pnpm build pnpm start
This project uses GitHub Actions for:
-
Deploying to GitHub Pages on every push to
main
:- Installs dependencies and builds static export (
pnpm export
) - Uploads the output to GitHub Pages
- Installs dependencies and builds static export (
-
Running Playwright tests on BrowserStack:
- Installs Playwright browsers and sets up BrowserStack environment
- Runs Playwright tests via BrowserStack SDK (
pnpm test:browserstack
)
See .github/workflows/deploy-and-test.yml
for details.