Skip to content

fix video.js v8 deprecation warnings (#176) #123

fix video.js v8 deprecation warnings (#176)

fix video.js v8 deprecation warnings (#176) #123

Workflow file for this run

name: videojs-wavesurfer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Update system
run: sudo apt-get update
- name: Install system dependencies
run: sudo apt-get install -y ubuntu-restricted-addons chromium-codecs-ffmpeg-extra gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-vaapi
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install Node.js modules
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Coveralls
if: always()
uses: coverallsapp/github-action@v2
with:
path-to-lcov: ${{ github.workspace }}/coverage/lcov/lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Documentation
run: npm run docs