Skip to content

Commit ada8a71

Browse files
committed
Fix
1 parent eb7391d commit ada8a71

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ jobs:
4141

4242
# Optional: Playwright E2E tests
4343
- name: Install Playwright deps
44-
run: npx playwright install --with-deps
45-
# npm install @playwright/test
46-
# npx playwright install
44+
run: |
45+
# echo skip
46+
npx playwright install --with-deps
47+
npm install @playwright/test
48+
npx playwright install
4749

4850
- name: Run E2E tests
4951
env:
@@ -52,19 +54,21 @@ jobs:
5254
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
5355
NEXT_PUBLIC_SUPABASE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_KEY }}
5456
run: |
55-
echo skip
56-
# npx nyc --reporter=lcov yarn --cwd=web serve &
57-
# npx wait-on http://localhost:3000
58-
# npx playwright test tests/e2e
59-
# SERVER_PID=$(fuser -k 3000/tcp)
60-
# echo $SERVER_PID
61-
# kill $SERVER_PID
57+
# echo skip
58+
npx nyc --reporter=lcov yarn --cwd=web serve &
59+
npx wait-on http://localhost:3000
60+
npx playwright test tests/e2e
61+
SERVER_PID=$(fuser -k 3000/tcp)
62+
echo $SERVER_PID
63+
kill $SERVER_PID
6264

6365
- name: Upload coverage to Codecov
6466
uses: codecov/codecov-action@v5
6567
with:
68+
token: ${{ secrets.CODECOV_TOKEN }}
6669
files: ./coverage/lcov.info
6770
flags: unit
6871
fail_ci_if_error: true
72+
slug: CompassConnections/Compass
6973
env:
7074
CI: true

0 commit comments

Comments
 (0)