From 9b03c55a762e192e7117e2e71a315b38b4846d03 Mon Sep 17 00:00:00 2001 From: Nika Salamadze Date: Tue, 1 Aug 2023 16:06:11 -0400 Subject: [PATCH] chore: update tests GH action --- .github/workflows/runTests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index 268e3e0..a514f31 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -12,18 +12,24 @@ on: jobs: test: name: Test - runs-on: windows-latest + runs-on: ubuntu-latest env: DISPLAY: ':99.0' steps: + - name: Start xvfb + run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo ">>> Started xvfb" + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16.x' cache: 'yarn' + - name: Install dependencies run: yarn --immutable && yarn install + - name: Lint Project run: yarn lint + - name: Test Project run: yarn test