Skip to content

Commit 4467d23

Browse files
authored
Merge pull request #3 from Saurabh-LT/PW-CI
Pushing CI
2 parents 05e912a + 75c5da3 commit 4467d23

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Playwright SDK Wrapper
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-playwright-sdk:
17+
name: Execute playwright 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 @lambdatest/playwright-driver playwright
26+
27+
28+
- name: Execute playwright wrapper
29+
run: |
30+
npx smartui --version
31+
npx smartui config:create smartui-web.json
32+
npx smartui exec node sdk/playwrightCloud.js --config smartui-web.json

0 commit comments

Comments
 (0)