File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 4
4
types : [published]
5
5
6
6
jobs :
7
+ test-packaged-node-sdk :
8
+ runs-on : ${{ matrix.platform == 'linux' && 'ubuntu-latest' || matrix.platform == 'macos' && 'macos-13' || matrix.platform == 'windows' && 'windows-latest' }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ platform : ['linux']
13
+ node-version : [ '18', '20', '22', '23' ]
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+
17
+ - name : Parse version from tag
18
+ id : version
19
+ uses : release-kit/semver@v2
20
+
21
+ - uses : actions/setup-node@v3
22
+ with :
23
+ node-version : ${{ matrix.node-version }}
24
+
25
+ - run : |
26
+ echo "Testing SDK Package at version ${{ steps.version.outputs.full }}"
27
+
28
+ - uses : Eppo-exp/sdk-test-data/.github/actions/test-server-package@main
29
+ with :
30
+ platform : ${{ matrix.platform }}
31
+ sdk_name : ' node-server-sdk'
32
+ sdk_version : ${{ steps.version.outputs.full }}
33
+ sdk_relay_dir : ' node-sdk-relay'
34
+ shard_label : ' node-${{ matrix.node-version }}'
35
+ service_account_key : ${{ secrets.SERVICE_ACCOUNT_KEY }}
36
+ sdk_testing_project_id : ${{ vars.SDK_TESTING_PROJECT_ID }}
37
+ sdk_testing_region : ${{ vars.SDK_TESTING_REGION }}
38
+
7
39
publish :
40
+ needs : test-packaged-node-sdk
8
41
runs-on : ubuntu-latest
9
42
steps :
10
43
- uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments