mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
7939fbbf2b
* use transform instead of change * disable workflows * updates expect commands as well * try "highlighted" * update versions * update workflow files * Remove pro badge if enabled * add some wait time --------- Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Co-authored-by: a <a>
36 lines
999 B
YAML
36 lines
999 B
YAML
name: TestDriver.ai
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
name: "TestDriver"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Debug - Print masked secret
|
|
run: |
|
|
if [ -n "${{secrets.TESTDRIVER_API_KEY}}" ];
|
|
then
|
|
echo "yes the api is there"
|
|
else
|
|
echo "nope"
|
|
fi
|
|
- uses: testdriverai/action@main
|
|
with:
|
|
key: ${{secrets.TESTDRIVER_API_KEY}}
|
|
prerun: |
|
|
npm install
|
|
npm run build
|
|
npm install dashcam-chrome --save
|
|
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "https://stirlingpdf.io"
|
|
Start-Sleep -Seconds 20
|
|
prompt: |
|
|
1. /run testdriver/test.yml
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
FORCE_COLOR: "3"
|