added tsconfig to ci

This commit is contained in:
JasonLandbridge
2024-09-03 16:34:27 +02:00
parent af7c47de99
commit 7a5862ba26
4 changed files with 22 additions and 6 deletions

View File

@@ -17,13 +17,12 @@ jobs:
- name: Install Dependencies
run: bun install
- name: OpenAPI Lint
run: bun run lint
- name: Install Speakeasy CLI
run: bun run setup-speakeasy-cli
# TODO: Disable this step until the linting is fixed in speakeasy with regards to $ref parameters in the OpenAPI spec `GET` must define parameter `ratingKey` as expected by path `/library/metadata/{ratingKey}`
# - name: OpenAPI Lint
# run: bun run lint
- name: Bundle OpenAPI Spec
run: bun run build

View File

@@ -6,7 +6,7 @@ name: Unit Tests
- tests/**
jobs:
test:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
@@ -18,8 +18,19 @@ jobs:
- name: Install Dependencies
run: bun install
unit-test:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Bundle OpenAPI Spec
run: bun run build
- name: Run Unit Tests
run: bun run test
type-check:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Run Unit Tests
run: bun run type-check