This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
build(deps): bump actions/setup-node from 3 to 4 #84
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |