Skip to content

write prerun and run it from arg #95

write prerun and run it from arg

write prerun and run it from arg #95

Workflow file for this run

name: Test PR
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
jobs:
test-action:
name: Test action
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./
with:
prompt: |
1. open youtube.
2. find a cat video
3. quit the browser
prerun: |
npm install dashcam-chrome --save
rm -rf /Users/ianjennings/Library/Application Support/Google/Chrome/Singleton*
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --load-extension=./node_modules/dashcam-chrome/build/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"