setup-kubectl/.github/workflows/unit-tests.yml

21 lines
403 B
YAML

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