File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 39
39
run : npm i
40
40
- name : Test
41
41
run : npm run test
42
+ test-e2e :
43
+ name : Test E2E
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - uses : actions-cool/check-user-permission@v2
47
+ with :
48
+ require : write
49
+ id : check_permission
50
+ - name : Trigger E2E Workflow in backend-sdk-tests and Wait
51
+ if : ${{ steps.check_permission.outputs.require-result == 'true' }}
52
+ uses :
convictional/[email protected]
53
+ with :
54
+ owner : passageidentity
55
+ repo : backend-sdk-tests
56
+ workflow_file_name : integration-tests-complete.yml
57
+ github_token : ${{ secrets.BE_SDK_PAT }}
58
+ # github.head_ref is only available on PR events, while github.ref_name provides the branch name on other events
59
+ client_payload : >-
60
+ {
61
+ "target_sdk":"node",
62
+ "use_test_release":true,
63
+ "sdk_branch_ref":"${{ github.head_ref || github.ref_name }}"
64
+ }
You can’t perform that action at this time.
0 commit comments