diff --git a/.github/workflows/development.yml b/.github/workflows/ci.yml similarity index 94% rename from .github/workflows/development.yml rename to .github/workflows/ci.yml index 9928e56..a2ae3b6 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,9 @@ jobs: - name: 🎭 Install Playwright run: npx playwright install --with-deps - name: 📦 Build the worker - run: npm run build + run: npx remix vite:build - name: 💣 Run some tests - run: npm run test + run: npx playwright test lint: name: ⬣ Linting diff --git a/.gitignore b/.gitignore index c731f12..c2a97d3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,9 @@ node_modules # Cloudflare .wrangler +# Playwright +/test-results +/playwright-report + # Remix stacks /package-lock.json \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/app/root.tsx b/app/root.tsx index 7118f7a..2904861 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -95,7 +95,9 @@ function Layout({ return (
-
+
@@ -115,7 +117,7 @@ function Layout({ ) : null}
-