diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a348eb4..a2adb07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,7 @@ jobs: sudo apt-get -y install build-essential git gobject-introspection libgirepository1.0-dev libcairo2 libcairo2-dev libavdevice-dev libavfilter-dev libopus-dev libvpx-dev pkg-config libsrtp2-dev libasound2-dev libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-pulseaudio gir1.2-gstreamer-1.0 sudo corepack enable npm npm i + npm run submodule:install - name: test env: CI: true diff --git a/package.json b/package.json index 8be9c86..dab2cd8 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "playground": "cd examples/playground && npm run dev", "playground-room": "cd examples/playground-room && npm run dev", "submodule:init": "git submodule update --init --recursive", + "submodule:install": "zx scripts/install_submodules.mjs", "test": "cd tests && npm run test", "type": "lerna run type", "update-mirror": "zx scripts/update-mirror-repo.mjs",