Skip to content

Commit e521e4a

Browse files
committed
initial v3 setup
1 parent b092615 commit e521e4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+853
-31268
lines changed

.github/workflows/ci.yml

+17-9
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,34 @@ on:
55
branches:
66
- master
77
jobs:
8-
test:
9-
name: Run tests
8+
build:
9+
name: Build fluent-ffmpeg
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
node: [18, 20, 21]
1411
steps:
1512
- name: Checkout
1613
uses: actions/checkout@v4
17-
- name: Install flvtool2
18-
run: sudo gem install flvtool2
19-
- name: Install ffmpeg
20-
run: sudo apt install -y ffmpeg
2114
- name: Setup node
2215
uses: actions/setup-node@v3
2316
with:
2417
node-version: ${{ matrix.node }}
2518
cache: yarn
2619
- name: Install dependencies
2720
run: yarn
21+
- name: Build
22+
run: yarn build
23+
24+
test:
25+
name: Run tests
26+
needs: build
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
node: [18, 20, 21]
31+
steps:
32+
- name: Install flvtool2
33+
run: sudo gem install flvtool2
34+
- name: Install ffmpeg
35+
run: sudo apt install -y ffmpeg
2836
- name: Run tests
2937
run: yarn test
3038
- name: Generate coverage report

.gitignore

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
*.project
1+
coverage
2+
lib
23
node_modules
34
.nyc_output
4-
*.swp
5-
.idea
6-
*.iml
7-
coverage
5+
types

.npmignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.md
21
.git*
32
test/
4-
examples/
3+
src/

Makefile

-20
This file was deleted.

0 commit comments

Comments
 (0)