Upgrade gl, package.json, and travis node version #3
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: 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 |