Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Merge pull request #41 from openedx/dependabot/github_actions/actions… #86

Merge pull request #41 from openedx/dependabot/github_actions/actions…

Merge pull request #41 from openedx/dependabot/github_actions/actions… #86

Workflow file for this run

name: Node CI
on:
push:
branches: [ master ]
pull_request:
branches:
- '**'
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
node-version: ['16']
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup Environment
run: |
npm install
export DISPLAY=:99.0
sudo apt-get install xvfb
- name: Run Tests
run: xvfb-run ./node_modules/.bin/karma start --single-run
- name: Run Quality
run: xvfb-run ./node_modules/.bin/jshint lib/ test/