mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 21:33:52 +02:00
Add CI
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Run TypeScript
|
||||||
|
run: npm run check
|
||||||
|
|
||||||
|
- name: Run ESLint
|
||||||
|
run: npm run lint
|
||||||
+1
-1
@@ -581,7 +581,7 @@ export abstract class BaseMediaSampleSink<
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
await decodePackets();
|
await decodePackets();
|
||||||
await flushDecoder();
|
await flushDecoder(); // Always flush here, improves decoder compatibility
|
||||||
}
|
}
|
||||||
|
|
||||||
timestampsOfInterest.push(targetPacket.timestamp);
|
timestampsOfInterest.push(targetPacket.timestamp);
|
||||||
|
|||||||
Reference in New Issue
Block a user