2022-10-26 08:48:04 +00:00
|
|
|
name: Run jest tests
|
|
|
|
on:
|
|
|
|
pull_request: {}
|
2023-06-26 09:53:29 +00:00
|
|
|
push:
|
2023-06-27 08:02:40 +00:00
|
|
|
branches: [livekit, full-mesh]
|
2022-10-26 08:48:04 +00:00
|
|
|
jobs:
|
|
|
|
jest:
|
|
|
|
name: Run jest tests
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Yarn cache
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
cache: "yarn"
|
|
|
|
- name: Install dependencies
|
|
|
|
run: "yarn install"
|
|
|
|
- name: Jest
|
|
|
|
run: "yarn run test"
|
2023-06-14 16:36:26 +00:00
|
|
|
- name: Upload to codecov
|
|
|
|
uses: codecov/codecov-action@v3
|
2023-06-22 08:18:17 +00:00
|
|
|
with:
|
|
|
|
flags: unittests
|