From a09b308b4e1d6d1be3ce55b76f33705f9357912b Mon Sep 17 00:00:00 2001 From: vsrs <62505555+vsrs@users.noreply.github.com> Date: Sat, 23 May 2020 16:24:21 +0300 Subject: [PATCH] xvfb-action fix --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af71a3d54a..e3e5a2c57d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -110,7 +110,7 @@ jobs: - run: npm ci working-directory: ./editors/code - - run: npm audit # || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } + - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } working-directory: ./editors/code - run: npm run lint @@ -119,8 +119,8 @@ jobs: - name: Run vscode tests uses: GabrielBB/xvfb-action@v1.2 with: - run: npm test - working-directory: ./editors/code + run: npm --prefix ./editors/code test + # working-directory: ./editors/code # does not work: https://github.com/GabrielBB/xvfb-action/issues/8 - run: npm run package --scripts-prepend-node-path working-directory: ./editors/code