Skip to content

try local repo

try local repo #8

Workflow file for this run

name: TestDriver.ai
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
jobs:
test:
name: "TestDriver"
runs-on: ubuntu-latest
steps:
- uses: testdriverai/action@main
with:
key: ${{secrets.TESTDRIVER_API_KEY}}
prompt: |
1. /run testdriver/test.yml
prerun: |
cd $env:TEMP
npm init -y
npm install dashcam-chrome
git clone https://github.com/testdriverai/mainframe.git
cd mainframe
Remove-Item -Path package-lock.json -Force
Remove-Item -Path node_modules -Recurse -Force -ErrorAction SilentlyContinue
npm install
npm start
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "${{ env.LOCALHOST }}"
exit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"
LOCALHOST: "http://localhost:8744"