mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 04:20:40 +00:00
added tsconfig to ci
This commit is contained in:
7
.github/workflows/openapi-linting.yaml
vendored
7
.github/workflows/openapi-linting.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
13
.github/workflows/openapi-tests.yaml
vendored
13
.github/workflows/openapi-tests.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user