Skip to content

feat: accept a slotted <video> as the custom element's source (issue #6) #12

feat: accept a slotted <video> as the custom element's source (issue #6)

feat: accept a slotted <video> as the custom element's source (issue #6) #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Syntax check
run: node --check src/chromakey.js
- name: Bundle size gate
run: npm run check:size
- name: Install Playwright Chromium
run: npx playwright install --with-deps chromium
- name: E2E tests
run: npm test
- name: Benchmark
run: npm run bench
- name: Upload bench results
if: always()
uses: actions/upload-artifact@v4
with:
name: bench-results
path: bench-results.json
if-no-files-found: ignore