File tree Expand file tree Collapse file tree 2 files changed +25
-23
lines changed Expand file tree Collapse file tree 2 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 49
49
trigger_workflow : true
50
50
wait_workflow : true
51
51
52
+ test-node-client-sdk :
53
+ runs-on : ubuntu-latest
54
+ steps :
55
+ - name : Display workflow details
56
+ shell : bash
57
+ run : |
58
+ echo "Testing eppo-exp/js-client-sdk"
59
+ - name : Run remote workflow
60
+ uses :
convictional/[email protected]
61
+ with :
62
+ owner : Eppo-exp
63
+ repo : js-client-sdk
64
+ workflow_file_name : lint-test-sdk.yml
65
+ ref : tp/workflows/remote
66
+ github_token : ${{ secrets.AUTH_TOKEN }}
67
+ wait_interval : 10
68
+ propagate_failure : true
69
+ trigger_workflow : true
70
+ wait_workflow : true
71
+
52
72
test-node-server-sdk :
53
73
runs-on : ubuntu-latest
54
74
steps :
Original file line number Diff line number Diff line change @@ -76,29 +76,11 @@ jobs:
76
76
sdk_branch : main
77
77
78
78
test-node-client-sdk :
79
- runs-on : ubuntu-latest
80
- steps :
81
- - name : Check out node client SDK
82
- uses : actions/checkout@v3
83
- with :
84
- repository : ' Eppo-exp/js-client-sdk'
85
- - name : Use Node.js 18
86
- uses : actions/setup-node@v1
87
- with :
88
- node-version : ' 18.x'
89
- - uses : actions/cache@v2
90
- with :
91
- path : ' ./node_modules'
92
- key : ${{ runner.os }}-root-node-modules-${{ hashFiles('./yarn.lock') }}
93
- - name : ' Set up GCP SDK for downloading test data'
94
- uses : ' google-github-actions/setup-gcloud@v0'
95
- - name : Install SDK dependencies
96
- run : yarn --frozen-lockfile
97
- working-directory : ./
98
- - name : Run tests
99
- run : yarn test
100
- working-directory : ./
101
-
79
+ uses : Eppo-exp/js-client-sdk/.github/workflows/lint-test-sdk.yml@tp/workflows/remote
80
+ with :
81
+ test_data_branch : ${{ github.head_ref || github.ref_name }}
82
+ sdk_branch : main
83
+
102
84
test-react-native-sdk :
103
85
runs-on : ubuntu-latest
104
86
steps :
You can’t perform that action at this time.
0 commit comments