From 49cdabcffc8a9340ff3f786ae5cbad13b2c4fbec Mon Sep 17 00:00:00 2001 From: Shlok Amin Date: Wed, 8 May 2024 11:10:40 -0400 Subject: [PATCH] chore(shared-data): fix deploy to npm github action (#15123) --- .github/workflows/shared-data-test-lint-deploy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/shared-data-test-lint-deploy.yaml b/.github/workflows/shared-data-test-lint-deploy.yaml index 56dcf76f00a..39cc4cd30e4 100644 --- a/.github/workflows/shared-data-test-lint-deploy.yaml +++ b/.github/workflows/shared-data-test-lint-deploy.yaml @@ -234,6 +234,11 @@ jobs: with: node-version: '18.19.0' registry-url: 'https://registry.npmjs.org' + - name: 'install udev for usb-detection' + run: | + # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved + sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list + sudo apt-get update && sudo apt-get install libudev-dev - name: 'cache yarn cache' uses: actions/cache@v3 with: