2023-01-07 22:07:46 -05:00

28 lines
585 B
YAML

name: Validate and process static files
on: [pull_request, push]
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
cache: npm
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
- run: sudo apt-get update
- run: sudo apt-get -y install libxml2-utils yajl-tools moreutils zopfli
- run: npm install
- run: pip install -r requirements.txt
- name: process static
run: ./process-static