Added trigger for L2 tests and ran build. (#16)

This commit is contained in:
Sundar 2021-03-31 17:19:55 +05:30 committed by GitHub
parent 2fd2ffa506
commit 794bef0208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 4 deletions

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

@ -0,0 +1,21 @@
name: "Run unit tests."
on: # rebuild any PRs and main branch changes
pull_request:
branches:
- main
- 'releases/*'
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci works properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and run L0 tests.
run: |
npm install
npm test