diff --git a/.github/actions/run-test/action.yml b/.github/actions/run-test/action.yml index 59f6dc4fa8..39f973fb5b 100644 --- a/.github/actions/run-test/action.yml +++ b/.github/actions/run-test/action.yml @@ -36,6 +36,11 @@ runs: with: node-version: ${{ inputs.node-version }} - uses: ./.github/actions/enable-microphone-access + - name: Setup Ubuntu Electron + if: ${{ runner.os == 'Linux' }} + run: | + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 + shell: bash - run: | echo "::group::npm ci" npm ci @@ -54,11 +59,6 @@ runs: npx playwright install --with-deps ${{ inputs.browsers-to-install }} echo "::endgroup::" shell: bash - - name: Setup Ubuntu Electron - if: ${{ runner.os == 'Linux' }} - run: | - sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 - shell: bash - name: Run tests if: inputs.shell == 'bash' run: |