Skip to content

Commit

Permalink
speakeasy: Add Studio AI schema to input list (#25)
Browse files Browse the repository at this point in the history
* speakeasy: Add Studio AI schema to input list

* .github: Fix jest test upload-artifact step

* Update yarn.lock

* .github: Migrate tests to npm
  • Loading branch information
victorges authored Sep 17, 2024
1 parent ac6ded1 commit 0b9340b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5,437 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/jest_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
run: corepack enable && corepack prepare yarn@stable --activate

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Build the project
run: yarn run build
run: npm run build

- name: Run tests
run: yarn run test
run: npm test

- name: Upload Test Results
uses: actions/upload-artifact@v2
if: failure()
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-results
path: ./tests/reports/
if-no-files-found: error
if-no-files-found: error
1 change: 1 addition & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ sources:
livepeer-studio-api:
inputs:
- location: https://raw.githubusercontent.com/livepeer/studio/master/packages/api/src/schema/api-schema.yaml
- location: https://raw.githubusercontent.com/livepeer/studio/master/packages/api/src/schema/ai-api-schema.yaml
registry:
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api
targets:
Expand Down
Loading

0 comments on commit 0b9340b

Please sign in to comment.