Skip to content

Commit b411ed8

Browse files
committed
GH Action: Screenshot SSL Labs with headless mode
1 parent 954b600 commit b411ed8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,21 @@ jobs:
1414
run: sudo apt install make node-acorn shellcheck
1515
- name: Run tests
1616
run: make tests
17+
ssllabs:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
- name: Install Firefox
23+
run: sudo apt install firefox
24+
- name: Create profile directory
25+
run: |
26+
mkdir -v tmp
27+
ln -sv user.js tmp/user.js
28+
- name: Screenshot SSL Labs
29+
run: firefox --profile tmp -screenshot https://www.ssllabs.com/ssltest/viewMyClient.html
30+
- name: Archive screenshot
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: screenshot.png
34+
path: ./screenshot.png

0 commit comments

Comments
 (0)