File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Homepage
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - ' **'
10+
11+ jobs :
12+ test-homepage :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : 18
20+
21+ - name : Install dependencies
22+ run : npm ci
23+
24+ - name : Build
25+ run : npm run build
26+
27+ - name : Run bee-dev
28+ run : npx bee-dev &
29+
30+ - name : Wait for bee-dev
31+ run : npx npxie await http://localhost:1633/stamps
32+
33+ - name : Run gateway
34+ run : |
35+ export DATABASE_CONFIG="{}"
36+ export TEMPORARY=5
37+ export HOMEPAGE=9461d23ca46636017661ee124bc82109edba3312bfe0510ffc7eeaa562383ec2
38+ node dist > gateway.log 2>&1 < /dev/null &
39+
40+ - name : Check image/jpeg content-type
41+ run : npx npxie content-type-is http://localhost:3000 "image/jpeg"
You can’t perform that action at this time.
0 commit comments