openvibers/openrestream Commits
CI calls the shared test workflow (Track Q): OpenVibe.Shared test.yml@e8b0caf (install, node --check, npm test, openvibe-contracts-check; ffmpeg where the tests need it) instead of a copy of those steps
Changes
@@@ -4,20 +4,14 @@ on:branches: [main]pull_request:jobs:++ # install, node --check, npm test and openvibe-contracts-check: the shared test job (Track Q).test:-- runs-on: ubuntu-latest-- steps:-- - uses: actions/checkout@v4-- - uses: actions/setup-node@v4-- with:-- node-version: 22.22.1 # production runs Node 22 (>= 22.12 for SO_REUSEPORT)-- cache: npm-- # The RTMP end-to-end test publishes and restreams with a real ffmpeg.-- - run: sudo apt-get update -qq && sudo apt-get install -y -qq ffmpeg-- - run: npm ci --no-audit --no-fund-- - run: npm test-- - name: contract check (openvibe-contracts)-- run: npx openvibe-contracts-check --service openre --src server --src workers++ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602++ with:++ apt-packages: ffmpeg # the RTMP end-to-end test publishes and restreams with a real ffmpeg++ syntax-dirs: server scripts workers++ contracts-service: openre++ contracts-src: server workers# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo (Track Q).security:uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@83c998b65424fb97e6f6de55ad9cc5981767e89c
@@ -4,20 +4,14 @@ on:
@@ -4,20 +4,14 @@ on:
branches: [main]
branches: [main]
pull_request:
pull_request:
jobs:
jobs:
+ # install, node --check, npm test and openvibe-contracts-check: the shared test job (Track Q).
test:
test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
- with:
- node-version: 22.22.1 # production runs Node 22 (>= 22.12 for SO_REUSEPORT)
- cache: npm
- # The RTMP end-to-end test publishes and restreams with a real ffmpeg.
- - run: sudo apt-get update -qq && sudo apt-get install -y -qq ffmpeg
- - run: npm ci --no-audit --no-fund
- - run: npm test
- - name: contract check (openvibe-contracts)
- run: npx openvibe-contracts-check --service openre --src server --src workers
+ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602
+ with:
+ apt-packages: ffmpeg # the RTMP end-to-end test publishes and restreams with a real ffmpeg
+ syntax-dirs: server scripts workers
+ contracts-service: openre
+ contracts-src: server workers
# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo (Track Q).
# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo (Track Q).
security:
security:
uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@83c998b65424fb97e6f6de55ad9cc5981767e89c
uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@83c998b65424fb97e6f6de55ad9cc5981767e89c