Feat: Improve first setup (#319)
* remove whisper model checking when setup * fix landing page step * refactor whisper * refactor whisper options * update workflow * update test-enjoy-app.yml
This commit is contained in:
7
.github/workflows/release-enjoy-app.yml
vendored
7
.github/workflows/release-enjoy-app.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, macos-13-xlarge, windows-latest, ubuntu-latest]
|
||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -18,3 +18,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
run: yarn publish:enjoy
|
||||
- if: matrix.os == 'macos-latest'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
PACKAGE_OS_ARCH: arm64
|
||||
run: yarn run publish:enjoy --arch=arm64
|
||||
|
||||
8
.github/workflows/test-enjoy-app.yml
vendored
8
.github/workflows/test-enjoy-app.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
- "enjoy/**/*.js"
|
||||
- "enjoy/**/*.mjs"
|
||||
jobs:
|
||||
test:
|
||||
e2e:
|
||||
timeout-minutes: 60
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
[
|
||||
macos-latest,
|
||||
macos-13,
|
||||
macos-13-xlarge,
|
||||
macos-14,
|
||||
windows-2019,
|
||||
windows-latest,
|
||||
ubuntu-20.04,
|
||||
@@ -38,11 +38,11 @@ jobs:
|
||||
run: |
|
||||
brew update
|
||||
brew install sdl2
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
- if: startsWith(matrix.os, 'ubuntu')
|
||||
name: Run tests with xvfb-run on ubuntu
|
||||
run: |
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:enjoy
|
||||
- if: matrix.os != 'ubuntu-latest'
|
||||
- if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'windows')
|
||||
name: Run tests
|
||||
run: yarn test:enjoy
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user