Skip to content

Commit

Permalink
initial v3 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
njoyard committed Nov 12, 2023
1 parent b092615 commit e521e4a
Show file tree
Hide file tree
Showing 65 changed files with 853 additions and 31,268 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,34 @@ on:
branches:
- master
jobs:
test:
name: Run tests
build:
name: Build fluent-ffmpeg
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install flvtool2
run: sudo gem install flvtool2
- name: Install ffmpeg
run: sudo apt install -y ffmpeg
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install dependencies
run: yarn
- name: Build
run: yarn build

test:
name: Run tests
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
steps:
- name: Install flvtool2
run: sudo gem install flvtool2
- name: Install ffmpeg
run: sudo apt install -y ffmpeg
- name: Run tests
run: yarn test
- name: Generate coverage report
Expand Down
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
*.project
coverage
lib
node_modules
.nyc_output
*.swp
.idea
*.iml
coverage
types
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
*.md
.git*
test/
examples/
src/
20 changes: 0 additions & 20 deletions Makefile

This file was deleted.

Loading

0 comments on commit e521e4a

Please sign in to comment.