feature: add new TS client lib to repo #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Typescript SDK test suite | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- "clients/ts-sdk/**" | |
jobs: | |
build-test: | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Running tests | |
run: yarn build --filter trieve-ts-sdk | |
tests: | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Running tests | |
working-directory: ./clients/ts-sdk | |
run: yarn vitest run | |
- name: Running lint | |
working-directory: ./clients/ts-sdk | |
run: yarn lint |