Skip to content

Commit

Permalink
re-added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyAsh5114 committed Dec 26, 2023
1 parent 51d2037 commit 6b4ca92
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Playwright Tests
env:
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
AUTH_GOOGLE_ID: ${{ secrets.AUTH_GOOGLE_ID }}
AUTH_GOOGLE_SECRET: ${{ secrets.AUTH_GOOGLE_SECRET }}
AUTH_GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }}
AUTH_GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
TEST_SESSION_1: ${{ secrets.TEST_SESSION_1 }}
on:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

0 comments on commit 6b4ca92

Please sign in to comment.