Skip to content

Commit 4e00b35

Browse files
authored
Update ci.yml
1 parent 00e553a commit 4e00b35

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,28 @@ on:
99
jobs:
1010
build-and-test:
1111
runs-on: ubuntu-latest
12+
env:
13+
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
14+
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
1215
steps:
1316
- uses: actions/checkout@v4
17+
1418
- name: Use Node.js 22
1519
uses: actions/setup-node@v4
1620
with:
1721
node-version: 22
22+
1823
- name: Install dependencies
1924
run: yarn install --frozen-lockfile
25+
2026
- name: Lint
2127
run: yarn lint
28+
2229
- name: Run unit tests (Vitest)
2330
run: yarn test:unit
31+
2432
- name: Build
2533
run: yarn build
34+
2635
- name: Run E2E tests (Playwright)
2736
run: yarn test:e2e
28-
env:
29-
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
30-
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
31-
32-
# CodeRabbit AI will automatically review PRs when configured in the repository
33-
# Configuration files: .coderabbit.yaml and .coderabbit.ignore

0 commit comments

Comments
 (0)