Skip to content

Commit

Permalink
added github workflow
Browse files Browse the repository at this point in the history
Using UI since CLI doesn't seem to work
  • Loading branch information
fearphage committed Aug 20, 2019
1 parent 671330c commit 708c013
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [6.x, 8.x, 10.x, 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 ci
run: npm ci

- name: Pre-Test
run: |
npm run lint
npm run test-headless -- --chrome $(which google-chrome-stable) --allow-chrome-as-root
npm run test-webworker -- --chrome $(which google-chrome-stable) --allow-chrome-as-root
npm run test-esm-bundle
if: matrix.node-version == '10.x'

- name: npm test
run: npm run test-node

0 comments on commit 708c013

Please sign in to comment.