Skip to content

fix: only download videos that are in configuring state #10

fix: only download videos that are in configuring state

fix: only download videos that are in configuring state #10

Workflow file for this run

name: CI Vue
on:
push:
branches: [main]
paths:
- '.github/workflows/vue-ci.yml'
- 'public/**'
- 'src/**'
- 'src-isolation/**'
- 'tests/**'
- 'index.html'
- 'package.json'
- 'package-lock.json'
- 'vitest.*'
- '*.config.*'
- 'tsconfig.*'
pull_request:
branches: [main]
paths:
- '.github/workflows/vue-ci.yml'
- 'public/**'
- 'src/**'
- 'src-isolation/**'
- 'tests/**'
- 'index.html'
- 'package.json'
- 'package-lock.json'
- 'vitest.*'
- '*.config.*'
- 'tsconfig.*'
jobs:
lint:
name: 'Lint'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies & run lint
run: |
npm ci
npm run lint
unit-tests:
name: 'Unit Tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies & run unit tests
run: |
npm ci
npm run test:unit
- name: Upload unit coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/units/lcov.info
flags: unit
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
e2e-tests:
name: 'E2E Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.56.0-noble
options: --ipc=host --shm-size=1g
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
run: npm ci
- name: Run end-to-end tests with coverage
run: npm run test:e2e
- name: Upload e2e coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/e2e/lcov.info
flags: e2e
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
build:
name: 'Build'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies & build
run: |
npm ci
npm run build