Skip to content

build(deps-dev): bump updates from 17.18.1 to 17.18.2 in /camera-ui-ring #220

build(deps-dev): bump updates from 17.18.1 to 17.18.2 in /camera-ui-ring

build(deps-dev): bump updates from 17.18.1 to 17.18.2 in /camera-ui-ring #220

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
outputs:
node: ${{ steps.select.outputs.node }}
python: ${{ steps.select.outputs.python }}
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
shared-node:
- 'externals/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- 'scripts/**'
- '.github/workflows/ci.yml'
- '.github/scripts/select-plugins.mjs'
shared-python:
- 'requirements.txt'
- '.github/workflows/ci.yml'
- '.github/scripts/select-plugins.mjs'
camera-ui-homekit: ['camera-ui-homekit/**']
camera-ui-onvif: ['camera-ui-onvif/**']
camera-ui-ring: ['camera-ui-ring/**']
camera-ui-pamdiff: ['camera-ui-pamdiff/**']
camera-ui-rust-motion: ['camera-ui-rust-motion/**']
camera-ui-smtp: ['camera-ui-smtp/**']
camera-ui-tuya: ['camera-ui-tuya/**']
camera-ui-wasm-motion: ['camera-ui-wasm-motion/**']
camera-ui-audio-yamnet: ['camera-ui-audio-yamnet/**']
camera-ui-coral: ['camera-ui-coral/**']
camera-ui-coreml: ['camera-ui-coreml/**']
camera-ui-ncnn: ['camera-ui-ncnn/**']
camera-ui-onnx: ['camera-ui-onnx/**']
camera-ui-eufy: ['camera-ui-eufy/**']
camera-ui-opencl: ['camera-ui-opencl/**']
camera-ui-opencv: ['camera-ui-opencv/**']
camera-ui-openvino: ['camera-ui-openvino/**']
camera-ui-wyze: ['camera-ui-wyze/**']
- id: select
env:
CHANGED: ${{ steps.filter.outputs.changes }}
run: node .github/scripts/select-plugins.mjs
node-plugins:
needs: changes
if: needs.changes.outputs.node != '[]'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include: ${{ fromJSON(needs.changes.outputs.node) }}
steps:
- uses: actions/checkout@v7
- name: Init submodules
if: matrix.externals != ''
run: git submodule update --init --depth 1 ${{ matrix.externals }}
- uses: actions/setup-node@v6
with:
node-version: "22"
- name: Install
run: npm --prefix ${{ matrix.plugin }} install --ignore-scripts
- name: Build
run: npm --prefix ${{ matrix.plugin }} run build
- name: Lint
run: npm --prefix ${{ matrix.plugin }} run lint
python-plugins:
needs: changes
if: needs.changes.outputs.python != '[]'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
plugin: ${{ fromJSON(needs.changes.outputs.python) }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install deps (shared tools + plugin-specific)
run: pip install -r requirements.txt -r ${{ matrix.plugin }}/requirements.txt
- name: Format (ruff)
run: cd ${{ matrix.plugin }} && ruff format
- name: Lint (ruff)
run: cd ${{ matrix.plugin }} && ruff check
- name: Type-check (mypy)
run: cd ${{ matrix.plugin }} && mypy src