Skip to content

release

release #23

Workflow file for this run

name: TypeScript Test and Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test_and_lint:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: "dummy"
OPENAI_MAX_TOKENS: 1000
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 17.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Jest tests
run: npm test
- name: Run ESLint lint
run: npm run lint