openvibers/openvibe.host 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,23 +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-- cache: npm-- - run: npm ci --no-audit --no-fund-- - run: npm test-- - name: syntax check-- run: for f in bin/ovhost lib/*.js lib/commands/*.js server/*.js server/*/*.js; do node --check "$f"; done && for f in scripts/*.sh; do bash -n "$f"; done-- # Stage B's capabilities (host.site.manage, host.deploy.create, host.domain.manage) are-- # proposals in docs/capabilities-proposal/ until the lead releases them in openvibe-contracts;-- # until then the check reports them as undefined. Make this step blocking again with that release.-- - name: contract check (openvibe-contracts)-- run: npx openvibe-contracts-check --service host --src lib --src server++ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602++ with:++ syntax-dirs: lib server++ contracts-service: host++ contracts-src: lib server++ extra: node --check bin/ovhost && for f in scripts/*.sh; do bash -n "$f"; done# Secret scan (gitleaks) and dependency audit, shared by every OpenVibers repo (Track Q).security:uses: OpenVibers/OpenVibe.Shared/.github/workflows/security.yml@83c998b65424fb97e6f6de55ad9cc5981767e89c
@@ -4,23 +4,14 @@ on:
@@ -4,23 +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
- cache: npm
- - run: npm ci --no-audit --no-fund
- - run: npm test
- - name: syntax check
- run: for f in bin/ovhost lib/*.js lib/commands/*.js server/*.js server/*/*.js; do node --check "$f"; done && for f in scripts/*.sh; do bash -n "$f"; done
- # Stage B's capabilities (host.site.manage, host.deploy.create, host.domain.manage) are
- # proposals in docs/capabilities-proposal/ until the lead releases them in openvibe-contracts;
- # until then the check reports them as undefined. Make this step blocking again with that release.
- - name: contract check (openvibe-contracts)
- run: npx openvibe-contracts-check --service host --src lib --src server
+ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602
+ with:
+ syntax-dirs: lib server
+ contracts-service: host
+ contracts-src: lib server
+ extra: node --check bin/ovhost && for f in scripts/*.sh; do bash -n "$f"; done
# 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