Bump mammoth from 1.9.1 to 1.11.0 #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| github_issue: | |
| description: "GitHub issue number to comment on" | |
| required: true | |
| permissions: | |
| contents: read | |
| issues: write | |
| models: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| - run: npm ci | |
| - run: npm test | |
| test-action: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| services: | |
| whisper: | |
| image: onerahmet/openai-whisper-asr-webservice:latest | |
| env: | |
| ASR_MODEL: base | |
| ASR_ENGINE: openai_whisper | |
| ports: | |
| - 9000:9000 | |
| options: >- | |
| --health-cmd "curl -f http://localhost:9000/docs || exit 1" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| --health-start-period 20s | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./ | |
| with: | |
| github_issue: 1 | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| debug: "script" |