Skip to content

Commit 679d9f1

Browse files
committed
ci: add a browser fetch test
1 parent 24d5dfe commit 679d9f1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/zig-test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,25 @@ jobs:
6666
zig-out/bin/lightpanda
6767
retention-days: 1
6868

69+
browser-fetch:
70+
name: browser fetch
71+
needs: zig-build-dev
72+
73+
# Don't run the CI with draft PR.
74+
if: github.event.pull_request.draft == false
75+
76+
runs-on: ubuntu-latest
77+
78+
steps:
79+
- name: download artifact
80+
uses: actions/download-artifact@v4
81+
with:
82+
name: lightpanda-build-dev
83+
84+
- run: chmod a+x ./lightpanda
85+
86+
- run: ./lightpanda fetch https://httpbin.io/xhr/get
87+
6988
zig-test:
7089
name: zig test
7190

0 commit comments

Comments
 (0)