openvibers/openvibe.codes 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,12 @@ 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: for f in $(find server public/js test -name '*.js'); do node --check "$f"; done-- - run: npm test-- # Blocking: the codes manifest, codes.release.manage|read and codes.app-manifest@1 are released-- # (openvibe-contracts tag v0.27.0).-- - run: npx openvibe-contracts-check --service codes --src server++ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602++ with:++ syntax-dirs: server public/js test scripts++ contracts-service: codes# 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,12 @@ on:
@@ -4,20 +4,12 @@ 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: for f in $(find server public/js test -name '*.js'); do node --check "$f"; done
- - run: npm test
- # Blocking: the codes manifest, codes.release.manage|read and codes.app-manifest@1 are released
- # (openvibe-contracts tag v0.27.0).
- - run: npx openvibe-contracts-check --service codes --src server
+ uses: OpenVibers/OpenVibe.Shared/.github/workflows/test.yml@e8b0caf086ad1f8fceaac80e2dca6cfe64f63602
+ with:
+ syntax-dirs: server public/js test scripts
+ contracts-service: codes
# 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