Skip to content

Adds the CI workflow file for SDK & Hooks sample update #2

Adds the CI workflow file for SDK & Hooks sample update

Adds the CI workflow file for SDK & Hooks sample update #2

Workflow file for this run

name: NodeJS SDK Wrapper CI
on:
pull_request:
branches:
- main
workflow_dispatch:
env:
LT_USERNAME: ${{ secrets.LT_USERNAME }}
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
LT_SDK_DEBUG: true
SMARTUI_DEBUG: true
jobs:
smartui-nodejs-sdk:
name: Execute NodeJS sdk build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install Dependencies
run: |
npm i @lambdatest/smartui-cli
- name: Execute NodeJS Wrapper
run: |
cd sdk
npm i
npx smartui --version
npx smartui config:create smartui-web.json
npx smartui --config smartui-web.json exec -- npm run smartui-cloud