V3 experiments #32
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
name: CI Testing | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
# - macos-latest | |
# - windows-latest | |
node: | |
- 18 | |
- 20 | |
name: Test Node ${{ matrix.node }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install ffmpeg | |
uses: ConorMacBride/install-package@v1 | |
with: | |
apt: ffmpeg | |
brew: ffmpeg | |
choco: ffmpeg | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Run tests | |
run: yarn test | |
- name: Store coverage | |
uses: coverallsapp/github-action@v2 | |
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 20 }} |