summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/static.yml (renamed from .github/workflows/validate-static.yml)9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/validate-static.yml b/.github/workflows/static.yml
index 1ca3158b..27e116f5 100644
--- a/.github/workflows/validate-static.yml
+++ b/.github/workflows/static.yml
@@ -1,4 +1,4 @@
-name: Validate static
+name: Validate and process static files
on:
pull_request:
@@ -6,7 +6,7 @@ on:
branches: [master]
jobs:
- validate-static:
+ static:
runs-on: ubuntu-latest
env:
@@ -32,7 +32,7 @@ jobs:
key: ${{ runner.os }}-validator-${{ env.VALIDATOR_VERSION }}
- run: sudo apt-get update
- - run: sudo apt-get -y install libxml2-utils yajl-tools
+ - run: sudo apt-get -y install libxml2-utils yajl-tools python3-lxml python3-cssselect moreutils brotli zopfli
- run: npm install
- name: Download validatornu
@@ -45,3 +45,6 @@ jobs:
- name: validate static
run: ./validate_static
+
+ - name: process static
+ run: ./process_static