fix(ios): respect audio settings and add quality presets (#743) #37
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: deploy-web | |
| on: | |
| push: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Enable Corepack (Yarn) | |
| run: | | |
| corepack enable | |
| yarn -v | |
| - name: Install dependencies (workspace root) | |
| run: yarn install --immutable | |
| - name: Build library | |
| run: yarn prepare | |
| - name: Build example web | |
| run: yarn workspace react-native-nitro-sound-example build:web | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: example/dist | |
| publish_branch: gh-pages | |
| force_orphan: true |