2 - local: '.gitlab/ci/prebuild.yml'
3 - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
9 check HTML, JS, CSS with eslint and prettier:
17 - yarn prettier --check www/
20 check HTML, CSS and SVG with html5validator:
22 image: cyb3rjak3/html5validator:latest
24 - html5validator --root www --also-check-css --also-check-svg --show-warnings --log INFO
26 build site on Python 3.8:
28 image: python:3.8-slim-buster
30 - apt-get update; apt-get install -y make
33 - misc/collect.py scrape https://downloads.openwrt.org build
40 test site with selenium:
42 image: selenium/standalone-firefox:latest
44 - /opt/bin/entry_point.sh &
45 - sudo apt-get update; sudo apt-get install -y python3-pip python3-pytest
46 - pip3 install selenium-firefox
47 - (cd build; python3 -m http.server &)
50 build site for target environment:
54 - apt-get update; apt-get install -y make python3
57 - misc/collect.py scrape https://downloads.openwrt.org build