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:
|
with:
|
||||||
node-version: ${{ inputs.node-version }}
|
node-version: ${{ inputs.node-version }}
|
||||||
- uses: ./.github/actions/enable-microphone-access
|
- 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: |
|
- run: |
|
||||||
echo "::group::npm ci"
|
echo "::group::npm ci"
|
||||||
npm ci
|
npm ci
|
||||||
|
|
@ -54,11 +59,6 @@ runs:
|
||||||
npx playwright install --with-deps ${{ inputs.browsers-to-install }}
|
npx playwright install --with-deps ${{ inputs.browsers-to-install }}
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
shell: bash
|
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
|
- name: Run tests
|
||||||
if: inputs.shell == 'bash'
|
if: inputs.shell == 'bash'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue