Skip to content

Commit

Permalink
chore: update tests GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
nsalamad committed Aug 1, 2023
1 parent b35d2cb commit 9b03c55
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9b03c55

Please sign in to comment.