Revert "Add support for new TTS Engine and Blob API (#76)" (#77) #294
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: Build & Test .NET Package | |
| on: | |
| push: | |
| branches: ["*"] | |
| jobs: | |
| # container-test-job: | |
| # runs-on: ubuntu-latest | |
| # container: | |
| # image: node:16.14.2-alpine3.15 | |
| # ports: | |
| # - 4010:4010 | |
| # env: | |
| # NODE_ENV: development | |
| # options: --cpus 1 | |
| # # Figure out how to solve this hanging job problem | |
| # steps: | |
| # - name: Install Prism | |
| # run: (yarn global add @stoplight/prism-cli) | |
| # - name: Start Prism Server | |
| # run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 ) | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| - name: Start Prism Server | |
| run: | | |
| yarn install | |
| ./node_modules/.bin/prism mock -h 127.0.0.1 api/openapi.yaml & | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Test | |
| run: dotnet test --no-restore --verbosity normal |