chore: setup simple unit-tests workflow

This commit is contained in:
Roman Hotsiy 2019-08-19 09:35:21 +03:00 committed by GitHub
parent 121bf640fa
commit ffacdc09be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.github/workflows/unit-tests.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: yarn install, build, and test
run: |
npm install -g yarn
yarn install
yarn bundle
yarn test