Skip to content

chore(deps-dev): bump electron from 25.5.0 to 25.8.4 #86

chore(deps-dev): bump electron from 25.5.0 to 25.8.4

chore(deps-dev): bump electron from 25.5.0 to 25.8.4 #86

Workflow file for this run

name: End to End testing for web
on: [pull_request, push]
env:
DATABASE_URL: "mysql://root:password@localhost:3306/sora-test-e2e"
NEXTAUTH_SECRET: "askdhsakjndkasudasludaksjd"
NEXTAUTH_URL: "http://localhost:3000"
AMQP_URL: "amqp://localhost"
jobs:
e2e:
name: End to End testing web interface only
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install all dependencies
uses: ./.github/actions/yarn-nm-install
- name: Pull MariaDB image
run: docker pull mariadb
- name: Start MariaDB container
run: |
docker run -d --name mariadb_container -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mariadb
- name: Wait for MariaDB port
run: |
until nc -z localhost 3306; do sleep 1; done
- name: Push prisma schema to MariaDB
run: yarn e2e:db-push
- name: Build web
run: yarn turbo run build --filter=@sora/web
- name: Install playwright browser
run: npx playwright install --with-deps
- name: Run E2E
run: yarn e2e
- name: Archive test results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results
path: apps/web/test-results
- name: Archive playwright report
if: always()
uses: actions/upload-artifact@v3
with:
name: Playwright Report
path: apps/web/playwright-report