Move before npm ci
This commit is contained in:
parent
c7655ebe2b
commit
d27cd840f9
10
.github/actions/run-test/action.yml
vendored
10
.github/actions/run-test/action.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue