Skip to content

Upgrade gl, package.json, and travis node version #3

Upgrade gl, package.json, and travis node version

Upgrade gl, package.json, and travis node version #3

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
sudo apt-get libxi-dev mesa-utils xvfb libgl1-mesa-dri libglapi-mesa libosmesa6
npm install
- name: Run tests
env:
DISPLAY: :99.0
run: |
sh -e /etc/init.d/xvfb start
npm test