Skip to content

fix(ci): retry whisper model downloads #116

fix(ci): retry whisper model downloads

fix(ci): retry whisper model downloads #116

Workflow file for this run

name: validate
on:
push:
branches:
- '+([0-9])?(.{+([0-9]),x}).x'
- 'main'
- 'next'
- 'next-major'
- 'beta'
- 'alpha'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
main:
strategy:
matrix:
bun: [latest]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v5
- name: ⎔ Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun }}
- name: 📥 Download deps
run: bun install
env:
HUSKY_SKIP_INSTALL: true
- name: ▶️ Run validate script
run: bun run validate
test:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v5
- name: ⎔ Setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: 📥 Download deps
run: bun install
env:
HUSKY_SKIP_INSTALL: true
- name: 🧪 Run tests
run: bun run test
release:
needs: [main, test]
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
env:
NPM_CONFIG_PROVENANCE: 'true'
NPM_CONFIG_IGNORE_SCRIPTS: 'true'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if:
${{ github.repository == 'epicweb-dev/eprec' &&
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/next-major,refs/heads/alpha',
github.ref) && github.event_name == 'push' }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: ⎔ Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
package-manager-cache: false
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@ba330626c4750c19d8299de843f05c7aa5574f62 # v5.0.2
with:
semantic_version: 25