Skip to content

chore(deps-dev): bump electron from 7.3.3 to 22.3.25 #753

chore(deps-dev): bump electron from 7.3.3 to 22.3.25

chore(deps-dev): bump electron from 7.3.3 to 22.3.25 #753

Workflow file for this run

name: build
on:
push:
branches:
- "**"
paths-ignore:
- "**.md"
tags-ignore:
- "v*"
jobs:
build:
name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [14.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v1
id: cache
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
yarn install
- name: Test
if: matrix.os == 'ubuntu-latest'
run: |
yarn run test
yarn run typecheck
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: |
yarn run lint
- name: Build App
run: |
yarn run dist --publish never
env:
CI: true
ELECTRON_WEBPACK_APP_TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
- name: Prepare artifacts
if: matrix.os != 'windows-latest'
run: |
mkdir artifacts
mv dist/{*.exe,*.deb,*.AppImage,*.dmg} artifacts || true
- name: Prepare Windows artifacts
if: matrix.os == 'windows-latest'
run: |
mkdir artifacts
mv dist/*.exe artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: ${{matrix.os}}
path: artifacts