Feat: bundle a default whisper model (#304)
* add scripts to download whisper model & ffmpeg wasm for bundle * use default whisper model if no downloaded
This commit is contained in:
28
.github/workflows/playwright.yml
vendored
28
.github/workflows/playwright.yml
vendored
@@ -1,28 +0,0 @@
|
||||
name: Playwright Tests
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 60
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-11, macos-12, macos-13, macos-latest, windows-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
run: npm install -g yarn && yarn
|
||||
# - name: Install Playwright Browsers
|
||||
# run: yarn playwright install --with-deps
|
||||
- name: Package
|
||||
run: yarn package:enjoy
|
||||
- name: Run Playwright tests
|
||||
run: yarn test:enjoy
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 30
|
||||
36
.github/workflows/test-enjoy-app.yml
vendored
Normal file
36
.github/workflows/test-enjoy-app.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Test Enjoy App
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 60
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
[
|
||||
macos-11,
|
||||
macos-12,
|
||||
macos-13,
|
||||
macos-latest,
|
||||
windows-latest,
|
||||
ubuntu-latest,
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
run: npm install -g yarn && yarn
|
||||
- name: Install Playwright Browsers
|
||||
run: yarn playwright install --with-deps
|
||||
- name: Package
|
||||
run: yarn package:enjoy
|
||||
- name: Run Playwright tests
|
||||
run: yarn test:enjoy
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 30
|
||||
Reference in New Issue
Block a user