Fix potentially erroneous MOS calculation on muted tracks (#38) #113
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: ci | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
check-lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: ci/checkout-repo | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: ci/setup-node | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
id: setup_node | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- name: ci/get-node-modules | |
run: | | |
make node_modules | |
- name: ci/lint | |
run: | | |
npm run lint | |
check-type: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: ci/checkout-repo | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: ci/setup-node | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
id: setup_node | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- name: ci/get-node-modules | |
run: | | |
make node_modules | |
- name: ci/lint | |
run: | | |
npm run check-types | |
check-build: | |
runs-on: ubuntu-22.04 | |
needs: [check-lint, check-type] | |
permissions: | |
checks: write | |
pull-requests: write | |
steps: | |
- name: ci/checkout-repo | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: ci/setup-node | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
id: setup_node | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- name: ci/get-node-modules | |
run: | | |
make node_modules | |
- name: ci/check-build | |
run: | | |
mkdir -p tmp | |
npx tsc --outDir tmp | |
diff -r lib tmp | |
rm -rf tmp | |
test: | |
runs-on: ubuntu-22.04 | |
needs: [check-lint, check-type, check-build] | |
steps: | |
- name: ci/checkout-repo | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- name: ci/setup-node | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
id: setup_node | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- name: ci/get-node-modules | |
run: | | |
make node_modules | |
- name: ci/test | |
run: | | |
npm run test | |