staging #8559
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate and process static files | |
on: [pull_request, push] | |
jobs: | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: pip | |
- run: sudo apt-get update | |
- run: sudo apt-get -y install libxml2-utils yajl-tools moreutils zopfli | |
- run: npm ci --ignore-scripts | |
- run: 'pip install --require-hashes --only-binary :all: -r requirements.txt' | |
- name: process static | |
run: ./process-static |