Individual tests

This commit is contained in:
Luke Hagar
2023-10-25 15:15:01 -05:00
parent 008c94be97
commit 1ff8b0aa97

View File

@@ -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