github-pages-deploy-action/.github/workflows/build.yml

28 lines
510 B
YAML
Raw Normal View History

2019-11-19 23:11:01 +08:00
name: unit-tests
on:
pull_request:
branches:
- dev
- releases/v3
push:
branches:
- dev
2020-02-22 22:23:41 +08:00
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 test
2020-01-20 02:48:11 +08:00
- name: Uploade CodeCov Report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} #required