Skip to content

Commit

Permalink
Implement easy parts of client
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Nov 12, 2019
1 parent b3281dd commit 364b8fc
Show file tree
Hide file tree
Showing 11 changed files with 1,928 additions and 32 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/example.yml
@@ -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 changes: 26 additions & 0 deletions .github/workflows/test.yml
@@ -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

1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -59,3 +59,4 @@ typings/

# next.js build output
.next
config.json
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -10,4 +10,4 @@ inputs:
outputs: # none
runs:
using: 'node12'
main: 'dist/bundle.js'
main: 'dist/bundle.cjs.js'

0 comments on commit 364b8fc

Please sign in to comment.