Implement easy parts of client

This commit is contained in:
Bret Comnes
2019-11-11 21:13:05 -07:00
parent b3281ddda5
commit 364b8fc2ed
11 changed files with 1927 additions and 31 deletions

29
.github/workflows/example.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Example usage
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get install xvfb
- name: npm install, build, and test
run: |
npm i
xvfb-run --auto-servernum node example.js
env:
CI: true
- name: Cleanup xvfb pidx
uses: bcomnes/cleanup-xvfb@v1

26
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm i
npm test
env:
CI: true