Skip to content

build(deps-dev): bump serve-static from 1.15.0 to 1.16.2 in /docs #339

build(deps-dev): bump serve-static from 1.15.0 to 1.16.2 in /docs

build(deps-dev): bump serve-static from 1.15.0 to 1.16.2 in /docs #339

Workflow file for this run

name: videojs-record
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
node-version:
- 20
architecture:
- x64
name: ${{ matrix.os }} - Node ${{ matrix.node-version }} (${{ matrix.architecture }})
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Update system
if: runner.os == 'Linux'
run: sudo apt-get update
- name: Install system dependencies
if: runner.os == 'Linux'
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 }}
architecture: ${{ matrix.architecture }}
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- name: Cache npm modules
uses: actions/cache@v4
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js modules
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Coveralls
if: runner.os == 'Linux'
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