Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
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
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Playwright Tests
on:
push:
branches: [preview]
pull_request:
branches: [master]
jobs:
test:
timeout-minutes: 60
runs-on: self-hosted
defaults:
run:
working-directory: ./partyfy
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Install Doppler CLI
uses: dopplerhq/cli-action@v3

- name: Run Playwright tests
run: doppler run -- npx playwright test
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,7 @@ iOSInjectionProject/
*.plist
*.xcsettings
*.xcscheme
*.pbxproj
*.pbxproj

*.tsbuildinfo
sw.js.map
27 changes: 27 additions & 0 deletions partyfy/.github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- 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@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
9 changes: 8 additions & 1 deletion partyfy/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,11 @@ yarn-error.log*
# vercel
.vercel

.vscode
.vscode

# Playwright
node_modules/
/playwright-report/
/blob-report/
/playwright/.cache/
/playwright/.auth/
Loading