Skip to content

fix ui around downloading. Treat all cached playlist calls as stale (… #65

fix ui around downloading. Treat all cached playlist calls as stale (…

fix ui around downloading. Treat all cached playlist calls as stale (… #65

Workflow file for this run

name: Playwright Tests
on:
workflow_dispatch:
push:
branches: [main, master]
paths-ignore: ".github/"
pull_request:
branches: [main, master]
paths-ignore: ".github/"
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Load vars
uses: 1password/load-secrets-action@v1
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
VITE_POLICY_KEY: "op://DevOps/dot-mobile-env-vars/policy-key"
VITE_BC_ACCOUNT_ID: "op://DevOps/dot-mobile-env-vars/bc-account-id"
- name: Run Playwright tests
run: DEBUG=pw:api npx playwright test
env:
VITE_POLICY_KEY: ${{ env.VITE_POLICY_KEY }}
VITE_BC_ACCOUNT_ID: ${{ env.VITE_BC_ACCOUNT_ID }}
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30