Skip to content

Commit

Permalink
chore: move to github actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
njoyard committed Nov 11, 2023
1 parent 68d5c94 commit 5c1abe8
Show file tree
Hide file tree
Showing 3 changed files with 772 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI Testing
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install ffmpeg
run: sudo apt update && 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: Run tests
run: yarn test
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
},
"repository": "git://github.com/fluent-ffmpeg/node-fluent-ffmpeg.git",
"devDependencies": {
"mocha": "latest",
"should": "latest",
"jsdoc": "latest"
"mocha": "^10.0.0",
"should": "^13.0.0",
"jsdoc": "^4.0.0"
},
"dependencies": {
"async": ">=0.2.9",
"async": "^0.2.9",
"which": "^1.1.1"
},
"engines": {
"node": ">=0.8.0"
"node": ">=18"
},
"main": "index",
"scripts": {
"test": "make test"
}
}
}
Loading

0 comments on commit 5c1abe8

Please sign in to comment.