github-pages-deploy-action/.github/workflows/build.yml
2020-03-09 08:51:05 -04:00

29 lines
530 B
YAML

name: unit-tests
on:
pull_request:
branches:
- dev
- releases/v3
push:
branches:
- dev
tags-ignore:
- '*.*'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install and Test
run: |
npm install
npm run-script lint
npm run-script test
- name: Uploade CodeCov Report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}