Move before npm ci

This commit is contained in:
Adam Gastineau 2025-01-08 05:32:28 -08:00
parent c7655ebe2b
commit d27cd840f9

View file

@ -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: |