mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-09 12:37:46 +00:00
Individual tests
This commit is contained in:
27
.github/workflows/test-oag-ver.yml
vendored
27
.github/workflows/test-oag-ver.yml
vendored
@@ -44,23 +44,30 @@ jobs:
|
|||||||
|
|
||||||
- name: Build PTV SDK
|
- name: Build PTV SDK
|
||||||
id: buildPTV
|
id: buildPTV
|
||||||
if: steps.buildPMS.outcome == 'success'
|
|
||||||
run: |
|
run: |
|
||||||
rm -rf plexjs/plextv
|
rm -rf plexjs/plextv
|
||||||
java -jar openapi-generator-cli.jar generate -i api-specs/plextv/plextv-spec.yaml -g typescript-axios -o plexjs/plextv --config sdk-resources/plextv-config-test.yaml
|
java -jar openapi-generator-cli.jar generate -i api-specs/plextv/plextv-spec.yaml -g typescript-axios -o plexjs/plextv --config sdk-resources/plextv-config-test.yaml
|
||||||
|
|
||||||
- name: Run npm install and build Typescript SDK
|
|
||||||
id: buildSDK
|
|
||||||
if: steps.buildPTV.outcome == 'success'
|
|
||||||
run: |
|
|
||||||
cd plexjs
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
- name: Archive test build
|
- name: Archive test build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: test-build
|
name: OAG-${{ github.event.inputs.version }}-test-build
|
||||||
path: |
|
path: |
|
||||||
plexjs/pms
|
plexjs/pms
|
||||||
plexjs/plextv
|
plexjs/plextv
|
||||||
|
|
||||||
|
- name: Run npm install and build Typescript SDK
|
||||||
|
id: testPMS
|
||||||
|
if: steps.buildPMS.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs/pms
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Run npm install and build Typescript SDK
|
||||||
|
id: testPTV
|
||||||
|
if: steps.buildPTV.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs/plextv
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user