Skip to content

[build,pwa]: set maximum cache file size to 5mb; #34

[build,pwa]: set maximum cache file size to 5mb;

[build,pwa]: set maximum cache file size to 5mb; #34

Workflow file for this run

name: Take Snap of Rendered Page
on:
push:
branches: [ main ]
jobs:
snap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Installing deps'
run: yarn && npm i -g serve
- name: 'Build Prodcution'
run: yarn build
- name: 'Serve Prodcution Server'
run: serve -s build -p 5173 &
- name: 'Installing System Deps'
run: sudo apt update -y && sudo apt install -y libgbm1
- name: 'Take Snap'
run: node puppeteer/snap.js
- name: 'Upload report'
uses: actions/upload-artifact@v4
if: always()
with:
name: snap-of-homepage
path: |
homepage.png