Skip to content

test script added with jest #2

test script added with jest

test script added with jest #2

Workflow file for this run

name: Node.js CI Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Create test env
shell: bash
run: |
cp test/sample.env .env
sed -i "s|LLMWHISPERER_API_KEY=|LLMWHISPERER_API_KEY=${{ secrets.LLMWHISPERER_API_KEY }}|" .env
- run: npm ci
- run: npm test