chore: show message when videostream not available #246
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: Validate and Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install and Build components 🔧 | |
run: | | |
npm i --legacy-peer-deps | |
# Workaround for missing binary | |
npm i @swc/core-linux-x64-gnu --legacy-peer-deps | |
npm run build --if-present | |
env: | |
CI: false # true -> fails on warning | |
- name: Build docker image | |
if: ${{ github.ref == 'main' }} | |
run: | | |
docker build . -t mdworld/homeremote:latest |