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
91 changes: 10 additions & 81 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Lint Code
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -28,23 +28,8 @@ jobs:
with:
node-version: '20'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 10

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup pnpm
run: npm install -g pnpm@latest

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -55,8 +40,8 @@ jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 15

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -66,71 +51,15 @@ jobs:
with:
node-version: '20'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 10

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup pnpm
run: npm install -g pnpm@latest

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run tests
- name: Run unit tests
run: pnpm test

build:
name: Build Application
runs-on: ubuntu-latest
timeout-minutes: 15

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

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 10

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run visual tests
run: pnpm test:visual

- name: Build application
run: pnpm build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: dist/
retention-days: 7
106 changes: 0 additions & 106 deletions .github/workflows/lighthouse.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/visual-regression.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ playwright/.cache/

# Lighthouse CI
.lighthouseci/
.next/
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false
}
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Pre-built marketing components from @react-bits registry:
- **`BlogPost.tsx`** - Individual blog post
- **`Painel.tsx`** - Dashboard (auth-protected if Clerk enabled)
- **Solution Pages**: `MenuDigital.tsx`, `Fornecedores.tsx`, `Fidelidade.tsx`, `Eventos.tsx`, `Integracoes.tsx`
- **Solution Pages**: `MenuDigital.tsx`, `Fornecedores.tsx`, `Integracoes.tsx`
- **Legal**: `legal/PrivacyPolicy.tsx`, `legal/TermsOfService.tsx`
- **`NotFound.tsx`** - 404 page

Expand Down
Loading
Loading