Skip to content

Add ts-node dep

Add ts-node dep #4

# .github/workflows/javascript_tests.yml
name: Javascript Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install dependencies
run: make init-js-sdk
- name: Run tests
working-directory: javascript-sdk
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}
PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }}
run: |
npm test