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

14 lines
243 B
YAML
Raw Normal View History

2019-11-19 23:11:01 +08:00
name: unit-tests
2019-11-20 22:02:22 +08:00
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
2019-11-20 22:01:31 +08:00
uses: actions/checkout@v1
- name: Install and Test
run: |
npm install
2019-11-19 23:07:53 +08:00
npm run-script test