Centralize Ubuntu Electron fix

This commit is contained in:
Adam Gastineau 2025-01-08 05:19:57 -08:00
parent 1a7ec58ab7
commit b210a1152b
3 changed files with 4 additions and 8 deletions

View file

@ -54,6 +54,10 @@ 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
- name: Run tests
if: inputs.shell == 'bash'
run: |

View file

@ -147,10 +147,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Ubuntu
if: ${{ runner.os == 'Linux' }}
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- uses: ./.github/actions/run-test
with:
browsers-to-install: chromium

View file

@ -213,10 +213,6 @@ jobs:
contents: read # This is required for actions/checkout to succeed
steps:
- uses: actions/checkout@v4
- name: Setup Ubuntu
if: ${{ runner.os == 'Linux' }}
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- run: npm install -g yarn@1
- run: npm install -g pnpm@8
- uses: ./.github/actions/run-test