Skip to content

Commit 2c6985e

Browse files
committed
Upgrade gl, package.json, and travis node version
1 parent 8795901 commit 2c6985e

File tree

6 files changed

+13772
-8888
lines changed

6 files changed

+13772
-8888
lines changed

.github/workflows/test.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [20.x]
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: Install dependencies
25+
run: |
26+
sudo apt-get install xvfb libxi-dev mesa-utils libgl1-mesa-dri libglapi-mesa libosmesa6
27+
npm install
28+
29+
- name: Run tests
30+
uses: coactions/[email protected]
31+
with:
32+
run: npm test

.travis.yml

-17
This file was deleted.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
<div align="center">
1515

1616
[![NPM Version](https://img.shields.io/npm/v/regl.svg?style=flat-square)](https://npmjs.org/package/regl)
17-
[![Build Status](https://img.shields.io/travis/regl-project/regl.svg?style=flat-square)](https://travis-ci.org/regl-project/regl/)
18-
[![File Size](https://badge-size.herokuapp.com/regl-project/regl/gh-pages/dist/regl.min.js.svg?compression=gzip&style=flat-square)](https://npmcdn.com/regl/dist/regl.min.js)
17+
[![File Size](https://img.badgesize.io/regl-project/regl/gh-pages/dist/regl.min.js.svg?compression=gzip&style=flat-square)](https://npmcdn.com/regl/dist/regl.min.js)
1918
[![Downloads](https://img.shields.io/npm/dm/regl.svg?style=flat-square)](https://npmjs.org/package/regl)
2019
[![Standard](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
2120

0 commit comments

Comments
 (0)