diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-12-21 17:34:56 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-12-21 17:47:50 -0500 |
| commit | dc31ad46fb6f7c09d7236d13fce0bc63b5f010ce (patch) | |
| tree | e8e15932dd0ed42a8f64a71bfc427303afcff91c /.github | |
| parent | aa3bdc08a7bd2b39fb80e1195e14e4063fc986d1 (diff) | |
run process_static as part of GitHub workflow
Diffstat (limited to '.github')
| -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 |
