Skip to content

V3 experiments

V3 experiments #28

Workflow file for this run

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: Generate coverage report
run: yarn coverage-report
- name: Store coverage
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
finish-coverage:
name: Upload coverage
needs: test
runs-on: ubuntu-latest
steps:
- name: Upload coverage
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: run-ubuntu-latest-20