Skip to content

Commit

Permalink
chore: add ci command for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
joshxfi committed Jul 20, 2024
1 parent 1157b0a commit 1a58187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: E2E Tests
name: Playwright Tests

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
- main

jobs:
test:
e2e:
timeout-minutes: 60
runs-on: ubuntu-latest

Expand All @@ -31,7 +31,7 @@ jobs:
run: pnpm exec playwright install --with-deps

- name: Run Playwright tests
run: pnpm exec playwright test
run: pnpm run ci

- uses: actions/upload-artifact@v4
if: always()
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"ci": "turbo run build --filter=!./apps/social e2e:test",
"dev:www": "turbo run dev --filter=!./apps/social",
"dev:social": "turbo run dev --filter=!./apps/www",
"build:www": "turbo run build --filter=!./apps/social",
Expand Down

0 comments on commit 1a58187

Please sign in to comment.