Add metadata helper to generate metadata and keyframes preview image #21
Workflow file for this run
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: Unit Test for PR | |
on: | |
pull_request_target: | |
branches: [ master ] | |
types: [labeled] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'Ready To Test') | |
strategy: | |
matrix: | |
node-version: [18.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Add FFmpeg | |
uses: FedericoCarboni/setup-ffmpeg@v1 | |
- name: Install dependencies | |
run: yarn install | |
- name: Run Unit test | |
run: | | |
export AMQP_URL=${{ secrets.AMQP_URL }} | |
npm test |