-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed autoplay mpd calculation and version moved to top level cmcd config
- Loading branch information
1 parent
d988338
commit fbb9b30
Showing
45 changed files
with
2,746 additions
and
970 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,22 +23,17 @@ jobs: | |
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'latest' | ||
node-version: '20' | ||
cache: 'npm' | ||
- name: Cache node modules | ||
id: cache-npm | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
path: node_modules | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} | ||
name: List the state of node modules | ||
continue-on-error: true | ||
|
@@ -64,20 +59,20 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-branch | ||
git merge pr-branch --no-ff | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- name: Cache node modules | ||
id: cache-npm | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
path: node_modules | ||
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} | ||
name: List the state of node modules | ||
continue-on-error: true | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import globals from 'globals'; | ||
|
||
export default [{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.mocha, | ||
...globals.node, | ||
dashjs: true, | ||
ManagedMediaSource: true, | ||
WebKitMediaSource: true, | ||
MediaSource: true, | ||
WebKitMediaKeys: true, | ||
MSMediaKeys: true, | ||
MediaKeys: true, | ||
google: true, | ||
}, | ||
|
||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
|
||
parserOptions: { | ||
parser: '@babel/eslint-parser', | ||
requireConfigFile: false, | ||
}, | ||
}, | ||
|
||
rules: { | ||
'no-caller': 2, | ||
'no-undef': 2, | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
vars: 'all', | ||
args: 'after-used', | ||
ignoreRestSiblings: true, | ||
caughtErrors: 'none' // Allow unused variables in catch blocks | ||
} | ||
], | ||
'no-use-before-define': 0, | ||
strict: 0, | ||
'no-loop-func': 0, | ||
'no-multi-spaces': 'error', | ||
|
||
'keyword-spacing': ['error', { | ||
before: true, | ||
after: true, | ||
}], | ||
|
||
quotes: ['error', 'single', { | ||
allowTemplateLiterals: true, | ||
}], | ||
|
||
indent: ['error', 4, { | ||
SwitchCase: 1, | ||
}], | ||
|
||
curly: ['error', 'all'], | ||
|
||
'space-infix-ops': ['error', { | ||
int32Hint: true, | ||
}], | ||
}, | ||
}]; |
Oops, something went wrong.