Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
ci: gate release and notarize builds on the test suite
Gabriel Steincd195466861d
diff --git a/.github/workflows/build-and-notarize.yml b/.github/workflows/build-and-notarize.ymlindex ae00daf49..6ef1c6a58 100644--- a/.github/workflows/build-and-notarize.yml+++ b/.github/workflows/build-and-notarize.yml@@ -16,7 +16,23 @@ on:workflow_dispatch:jobs:+ tests:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4+ with:+ node-version-file: .nvmrc+ - name: Install dependencies+ run: npm ci --ignore-scripts+ - name: Run tests+ run: npm test+ env:+ # keeps require("electron") from throwing when postinstall was skipped+ ELECTRON_OVERRIDE_DIST_PATH: /tmp+build-linux:+ needs: testsruns-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -106,6 +122,7 @@ jobs:retention-days: 7build-windows:+ needs: testsruns-on: windows-lateststeps:- uses: actions/checkout@v4@@ -214,6 +231,7 @@ jobs:retention-days: 7build-macos:+ needs: testsruns-on: macos-lateststrategy:fail-fast: falsediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 473102487..648a35257 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -15,7 +15,23 @@ permissions:contents: write # Required for creating releasesjobs:+ tests:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4+ with:+ node-version-file: .nvmrc+ - name: Install dependencies+ run: npm ci --ignore-scripts+ - name: Run tests+ run: npm test+ env:+ # keeps require("electron") from throwing when postinstall was skipped+ ELECTRON_OVERRIDE_DIST_PATH: /tmp+build-linux:+ needs: testsruns-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -98,6 +114,7 @@ jobs:VITE_OPENWHISPR_OAUTH_CALLBACK_URL: ${{ vars.VITE_OPENWHISPR_OAUTH_CALLBACK_URL }}build-windows:+ needs: testsruns-on: windows-lateststeps:- uses: actions/checkout@v4@@ -204,6 +221,7 @@ jobs:AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}build-macos:+ needs: testsruns-on: macos-lateststrategy:fail-fast: false