feat: eme controller #255
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: continuous | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Quality Gates | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# install node version from .nvmrc | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
# install deps | |
- name: Install Dependencies | |
run: npm ci | |
# lint all packages | |
- name: Lint All Packages | |
run: npm run lint | |
# build all packages | |
- name: Build All Packages | |
run: npm run build | |
# run unit tests and generate test coverage for all packages | |
- name: Test All Packages | |
run: npm run test:coverage | |
# upload @videojs/hls-parser test coverage to codecov | |
- name: Upload Hls-Parser Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: hls-parser | |
files: ./packages/hls-parser/coverage/coverage-final.json | |
name: hls-parser-coverage | |
fail_ci_if_error: true | |
# upload @videojs/dash-parser test coverage to codecov | |
- name: Upload Dash-Parser Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: dash-parser | |
files: ./packages/dash-parser/coverage/coverage-final.json | |
name: dash-parser-coverage | |
fail_ci_if_error: true | |
# upload @videojs/env-capabilities test coverage to codecov | |
- name: Upload env-capabilities Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: env-capabilities | |
files: ./packages/env-capabilities/coverage/coverage-final.json | |
name: env-capabilities-coverage | |
fail_ci_if_error: true | |
# upload @videojs/playback test coverage to codecov | |
- name: Upload Playback Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: playback | |
files: ./packages/playback/coverage/coverage-final.json | |
name: playback-coverage | |
fail_ci_if_error: true |