@@ -17,7 +17,7 @@ name: PR
1717on :
1818 pull_request_target :
1919 types : [opened, synchronize, reopened, ready_for_review]
20- branches :
20+ branches :
2121 - main
2222 - release-1.[0-9]+
2323
3737 runs-on : ubuntu-latest
3838 outputs :
3939 is_active_team_member : ${{ steps.team-check.outputs.is_active_member }}
40- steps :
40+ steps :
4141 - name : Generate GitHub App Token
4242 id : app-token
4343 uses : actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
5858 organization : redhat-developer
5959 team : rhdh
6060 gh_token : ${{ steps.app-token.outputs.token }}
61-
61+
6262 authorize :
6363 # The 'external' environment is configured with the maintainers team as required reviewers.
6464 # All the subsequent jobs in this workflow 'need' this job, which will require manual approval for PRs coming from external forks.
@@ -184,10 +184,18 @@ jobs:
184184 if : ${{ steps.check-image.outputs.is_skipped != 'true' }}
185185 run : yarn run test --continue --affected
186186
187+ - name : Change directory to dynamic-plugins
188+ if : ${{ steps.check-image.outputs.is_skipped != 'true' }}
189+ run : cd ./dynamic-plugins
190+
187191 - name : Install dynamic plugin dependencies
188192 if : ${{ steps.check-image.outputs.is_skipped != 'true' }}
189- run : cd ./dynamic-plugins && yarn install && cd ..
193+ run : yarn install
194+
195+ - name : Test the dynamic plugin wrappers
196+ if : ${{ steps.check-image.outputs.is_skipped != 'true' }}
197+ run : yarn test --continue --affected
190198
191- - name : Verify dynamic plugin wrappers
199+ - name : Export the dynamic plugin wrappers
192200 if : ${{ steps.check-image.outputs.is_skipped != 'true' }}
193- run : cd ./ dynamic-plugins && yarn test && cd ..
201+ run : yarn export- dynamic --continue --affected
0 commit comments