Skip to content

Fix shared BASE_URL, add HTTP timeout, fix double-callback in token h… #58

Fix shared BASE_URL, add HTTP timeout, fix double-callback in token h…

Fix shared BASE_URL, add HTTP timeout, fix double-callback in token h… #58

Workflow file for this run

name: API Test
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20'
- run: npm install
- name: Syntax check
run: node --check index.js
- name: Run full API test
env:
VOICEIT_API_KEY: ${{ secrets.VOICEIT_API_KEY }}
VOICEIT_API_TOKEN: ${{ secrets.VOICEIT_API_TOKEN }}
run: node test_example.js