mirror of
https://github.com/gre/gl-react.git
synced 2026-01-25 16:43:36 +00:00
23 lines
458 B
YAML
23 lines
458 B
YAML
name: CI tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt-get install -y build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 14
|
|
cache: 'yarn'
|
|
- run: yarn
|
|
- run: yarn build
|
|
- run: yarn test
|