Skip to content

Commit ceb743b

Browse files
Adds the CI file for the SDK cloud execution
1 parent b99a7f4 commit ceb743b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

sdk/.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: NodeJS SDK Wrapper CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
env:
9+
LT_USERNAME: ${{ secrets.LT_USERNAME }}
10+
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
11+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
12+
LT_SDK_DEBUG: true
13+
SMARTUI_DEBUG: true
14+
15+
jobs:
16+
smartui-java-sdk:
17+
name: Execute java sdk build
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repo
21+
uses: actions/checkout@v2
22+
23+
- name: Install Dependencies and clean directory
24+
run: |
25+
npm i @lambdatest/smartui-cli
26+
- name: Execute java wrapper
27+
run: |
28+
npx smartui --version
29+
npx smartui config:create smartui-web.json
30+
npx smartui --config smartui-web.json exec -- npm run smartui-cloud

0 commit comments

Comments
 (0)