Skip to content

Test-cafe Health Check #215

Test-cafe Health Check

Test-cafe Health Check #215

Workflow file for this run

name: Test-cafe Health Check
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
schedule:
- cron: "0 22 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
LT_USERNAME: ${{ secrets.LT_USERNAME }}
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: npm dependencies
run: npm install
- name: Install testcafe
run: npm install -g testcafe
- name: Build Npm package
run: npm run build
- name: Link Npm
run: npm link
- name: Run single test
run: testcafe "lambdatest:[email protected]:Windows 8" "test/test.js"
- name: Run Parallel test
run: testcafe "lambdatest:[email protected]:Windows 8","lambdatest:[email protected]:Windows 10" "test/test.js"