Skip to content

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

Upgrade gl, package.json, and travis node version

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

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
run: npm install

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 26, Col: 9): 'run' is already defined .github/workflows/test.yml (Line: 32, Col: 9): 'run' is already defined
- name: Run tests
env:
DISPLAY: :99.0
run: sh -e /etc/init.d/xvfb start
run: npm test