diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..11ebf66 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2.1 + +jobs: + run-tests: + docker: + - image: cimg/node:18.20 + steps: + - checkout + + - run: + name: Install dependencies + command: npm install + + - run: + name: Run single test with env + command: | + export LT_USERNAME=$LT_USERNAME + export LT_ACCESS_KEY=$LT_ACCESS_KEY + npm run single + +workflows: + version: 2 + run-all: + jobs: + - run-tests diff --git a/conf/single.conf.js b/conf/single.conf.js index 5114c94..eed71db 100644 --- a/conf/single.conf.js +++ b/conf/single.conf.js @@ -29,7 +29,8 @@ exports.config = { connectionRetryCount: 3, path: "/wd/hub", hostname: "hub.lambdatest.com", - port: 80, + port: 443, + protocol: "https", framework: "mocha", mochaOpts: { diff --git a/package.json b/package.json index 11e6917..b5ed5a8 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "bugs": {}, "homepage": "https://github.com/Lambdatest/webdriverio-Lambdatest#readme", "dependencies": { - "@wdio/cli": "^5.20.1", - "@wdio/local-runner": "^5.20.1", - "@wdio/mocha-framework": "^5.18.7" + "@wdio/cli": "^7.25.1", + "@wdio/local-runner": "^7.25.1", + "@wdio/mocha-framework": "^7.25.1" } }