1
0
mirror of synced 2026-01-03 06:04:16 -05:00

Dynamically serve .webp and .avif from a .png URL (#34412)

This commit is contained in:
Peter Bengtsson
2023-02-03 13:19:55 -05:00
committed by GitHub
parent b1554c7c45
commit 952ea7cf6d
6 changed files with 460 additions and 55 deletions

View File

@@ -7,9 +7,10 @@ runs:
steps:
- name: Cache node_modules
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
id: cache-node_modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/actions/node-npm-setup/action.yml') }}
- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
@@ -18,5 +19,6 @@ runs:
cache: npm
- name: Install dependencies
if: ${{ steps.cache-node_modules.outputs.cache-hit != 'true' }}
shell: bash
run: npm install --prefer-offline --no-audit --ignore-scripts
run: npm ci