2021-03-31 13:49:55 +02:00
|
|
|
name: "Run unit tests."
|
2021-03-25 14:26:24 +01:00
|
|
|
on: # rebuild any PRs and main branch changes
|
2020-07-01 05:37:14 +02:00
|
|
|
pull_request:
|
2021-03-25 14:26:24 +01:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- 'releases/*'
|
2020-07-01 05:37:14 +02:00
|
|
|
push:
|
|
|
|
branches:
|
2021-03-16 07:18:18 +01:00
|
|
|
- main
|
2020-07-01 05:37:14 +02:00
|
|
|
- 'releases/*'
|
|
|
|
|
|
|
|
jobs:
|
2021-03-25 14:26:24 +01:00
|
|
|
build: # make sure build/ci works properly
|
|
|
|
runs-on: ubuntu-latest
|
2020-07-01 05:37:14 +02:00
|
|
|
steps:
|
2021-03-25 14:26:24 +01:00
|
|
|
- uses: actions/checkout@v1
|
2021-03-31 13:49:55 +02:00
|
|
|
|
|
|
|
- name: Build and run L0 tests.
|
2020-07-01 05:37:14 +02:00
|
|
|
run: |
|
2021-03-16 07:22:33 +01:00
|
|
|
npm install
|
2021-03-25 14:26:24 +01:00
|
|
|
npm test
|