Skip to content

update fallback mechanism while getting audio #163

update fallback mechanism while getting audio

update fallback mechanism while getting audio #163

Workflow file for this run

name: AI Assistant (React) - Build and Publish to NPM
on:
push:
branches: [main]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Automatic Version Bump and Tag Creation
uses: phips28/gh-action-bump-version@v9.1.1
with:
tag-prefix: ''
minor: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}