Skip to content

added base code for future end of stream report view #7

added base code for future end of stream report view

added base code for future end of stream report view #7

Workflow file for this run

name: Build and Release
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-windows:
runs-on: windows-latest
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install root dependencies
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}
TWITCH_AUTH_REDIRECT_URL: ${{ secrets.TWITCH_AUTH_REDIRECT_URL }}
TWITCH_AUTH_URL: ${{ secrets.TWITCH_AUTH_URL }}
run: npm install --legacy-peer-deps
- name: Install client dependencies
working-directory: client
run: npm install --legacy-peer-deps
- name: Install TypeScript
run: npm install typescript --save-dev --legacy-peer-deps
- name: Build Windows installer
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}
TWITCH_AUTH_REDIRECT_URL: ${{ secrets.TWITCH_AUTH_REDIRECT_URL }}
TWITCH_AUTH_URL: ${{ secrets.TWITCH_AUTH_URL }}
run: npm run make -- --platform win32
- name: Upload Windows artifacts
uses: actions/upload-artifact@v3
with:
name: Windows-Build
path: out/make/squirrel.windows/*.exe
build-macos:
runs-on: macos-latest
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install root dependencies
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}
TWITCH_AUTH_REDIRECT_URL: ${{ secrets.TWITCH_AUTH_REDIRECT_URL }}
TWITCH_AUTH_URL: ${{ secrets.TWITCH_AUTH_URL }}
run: npm install --legacy-peer-deps
- name: Install client dependencies
working-directory: client
run: npm install --legacy-peer-deps
- name: Install TypeScript
run: npm install typescript --save-dev --legacy-peer-deps
- name: Build macOS installer
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}
TWITCH_AUTH_REDIRECT_URL: ${{ secrets.TWITCH_AUTH_REDIRECT_URL }}
TWITCH_AUTH_URL: ${{ secrets.TWITCH_AUTH_URL }}
run: npm run make -- --platform darwin
- name: Upload macOS artifacts
uses: actions/upload-artifact@v3
with:
name: macOS-Build
path: out/make/*.dmg