feat: add voice cloner API #225
Workflow file for this run
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
| # This workflow will test the typescript package against Sideko's Mock Servers | |
| # Tests will run automatically on a push to `main` or a pull request event | |
| name: Run Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: {} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - 20 | |
| - 21 | |
| - 22 | |
| - 23 | |
| - 24 | |
| steps: | |
| #---------------------------------------------- | |
| # ----- checkout & setup node ----- | |
| #---------------------------------------------- | |
| - name: checkout repository | |
| uses: actions/checkout@v4 | |
| - name: setup node | |
| uses: actions/setup-node@v4 | |
| id: setup-node | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| #--------------------------------------------------------------- | |
| # ----- install dependencies ----- | |
| #--------------------------------------------------------------- | |
| - name: install dependencies | |
| run: npm install | |
| #------------------------------ | |
| # ----- run tests ----- | |
| #------------------------------ | |
| - name: run jest | |
| run: npm test |