File tree 2 files changed +37
-3
lines changed
2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Command Line Demo
1
+ name : Playwright Demo
2
2
3
3
on :
4
4
workflow_dispatch :
21
21
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
22
22
run : |
23
23
cd playwright-demo
24
- npm i
25
- npm run e2e
24
+ npm i pnpm -g
25
+ pnpm install
26
+ pnpm run e2e
26
27
27
28
- name : Upload output folder
28
29
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change
1
+ name : Puppeteer Demo
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ output_folder :
7
+ description : ' Midscene report dir'
8
+ required : true
9
+ default : ' puppeteer-demo/midscene-run/report'
10
+
11
+ jobs :
12
+ run_script :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout repository
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Run script
19
+ env :
20
+ OPENAI_BASE_URL : ${{ secrets.OPENAI_BASE_URL }}
21
+ OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
22
+ run : |
23
+ cd puppeteer-demo
24
+ npm i pnpm -g
25
+ pnpm install
26
+ pnpm run test
27
+
28
+ - name : Upload output folder
29
+ uses : actions/upload-artifact@v4
30
+ with :
31
+ if-no-files-found : error
32
+ name : Midscene Report
33
+ path : ${{ github.workspace }}/${{ github.event.inputs.output_folder }}
You can’t perform that action at this time.
0 commit comments