Skip to content

Enable singleRun for Karma as this better suits the regular IDE workflow #5

Enable singleRun for Karma as this better suits the regular IDE workflow

Enable singleRun for Karma as this better suits the regular IDE workflow #5

Workflow file for this run

name: CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'latest'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run tests
run: |
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
npm test