openvibers/openvibe.live Commits

CI: npm test on Node 22 plus the openvibe-contracts check on every push to main and every PR; contracts v0.3.0

OP OpenVibers committed 22 Sept 2026 · 5392d230ad · 3 files, +26 −41


Changes

ddiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
nnew file mode 100644
iindex 00000000..5b17b180
---- /dev/null
++++ b/.github/workflows/ci.yml
@@@ -0,0 +1,18 @@
++name: ci
++on:
++ push:
++ branches: [main]
++ pull_request:
++jobs:
++ 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: contract check (openvibe-contracts)
++ run: npx openvibe-contracts-check --service live --src server
ddiff --git a/package-lock.json b/package-lock.json
iindex b49f54cf..38f6e415 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -25,7 +25,7 @@
"multer": "^1.4.5-lts.1",
"node-media-server": "^2.7.1",
"onnxruntime-node": "^1.20.0",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.2.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.3.0",
"openvibe-shared": "file:./vendor/openvibe-shared",
"sanitize-html": "^2.17.7",
"sdp-transform": "^3.0.0",
@@@ -153,9 +153,6 @@
"cpu": [
"arm"
],
-- "libc": [
-- "glibc"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -172,9 +169,6 @@
"cpu": [
"arm64"
],
-- "libc": [
-- "glibc"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -191,9 +185,6 @@
"cpu": [
"s390x"
],
-- "libc": [
-- "glibc"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -210,9 +201,6 @@
"cpu": [
"x64"
],
-- "libc": [
-- "glibc"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -229,9 +217,6 @@
"cpu": [
"arm64"
],
-- "libc": [
-- "musl"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -248,9 +233,6 @@
"cpu": [
"x64"
],
-- "libc": [
-- "musl"
-- ],
"license": "LGPL-3.0-or-later",
"optional": true,
"os": [
@@@ -267,9 +249,6 @@
"cpu": [
"arm"
],
-- "libc": [
-- "glibc"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -292,9 +271,6 @@
"cpu": [
"arm64"
],
-- "libc": [
-- "glibc"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -317,9 +293,6 @@
"cpu": [
"s390x"
],
-- "libc": [
-- "glibc"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -342,9 +315,6 @@
"cpu": [
"x64"
],
-- "libc": [
-- "glibc"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -367,9 +337,6 @@
"cpu": [
"arm64"
],
-- "libc": [
-- "musl"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -392,9 +359,6 @@
"cpu": [
"x64"
],
-- "libc": [
-- "musl"
-- ],
"license": "Apache-2.0",
"optional": true,
"os": [
@@@ -2849,14 +2813,17 @@
}
},
"node_modules/openvibe-contracts": {
-- "version": "0.2.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.2.0",
-- "integrity": "sha512-ARq8C+5x6CDimij62hOjqYa3nu4liwxPpPaACp3khb50YHeOPgMFJiXKZlbhsVTTE4xHe/FcMhkcRZAob3iTzw==",
++ "version": "0.3.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.3.0",
++ "integrity": "sha512-4clDeetK1RofxApXzSLUehl0x3zsc2AsEedFyCTmocsAp3LzCL/07kiBMbt675KEBArmI0b2jQ8qumgl7rwotw==",
"license": "AGPL-3.0-only",
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1"
},
++ "bin": {
++ "openvibe-contracts-check": "bin/check-service.js"
++ },
"engines": {
"node": ">=20"
}
ddiff --git a/package.json b/package.json
iindex 42635c3b..edd218cb 100644
---- a/package.json
++++ b/package.json
@@@ -43,7 +43,7 @@
"multer": "^1.4.5-lts.1",
"node-media-server": "^2.7.1",
"onnxruntime-node": "^1.20.0",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.2.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.3.0",
"openvibe-shared": "file:./vendor/openvibe-shared",
"sanitize-html": "^2.17.7",
"sdp-transform": "^3.0.0",