diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9b9d567..0770029 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,6 +35,12 @@ jobs: run: | npm run compile + - name: foo + run: | + /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb" + echo "DISPLAY=':99.0'" >> "$GITHUB_ENV" + shell: bash + - name: Test run: | npm run test @@ -43,6 +49,6 @@ jobs: run: | docker stop "$REGISTRY_CID" -# - name: Setup tmate session -# if: failure() -# uses: mxschmitt/action-tmate@v3 + - name: Setup tmate session + if: failure() + uses: mxschmitt/action-tmate@v3