Skip to content

Change ID in image galleries to avoid duplicates and fix exhibitions test #6842

Change ID in image galleries to avoid duplicates and fix exhibitions test

Change ID in image galleries to avoid duplicates and fix exhibitions test #6842

Workflow file for this run

name: Performance
on:
pull_request:
paths-ignore:
- '.buildkite/**'
- 'assets/**'
- 'cache/**'
- 'cardigan/**'
- 'content/terraform/**'
- 'docs/**'
- 'identity/terraform/**'
- 'infrastructure/**'
- 'playwright/**'
- 'prismic-model/**'
- 'preview/**'
jobs:
bundle_size_diff:
name: Bundle size diff
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
# https://github.com/actions/setup-node?tab=readme-ov-file#usage
# The node-version input is optional. If not supplied, the node version from PATH will be used.
# However, it is recommended to always specify Node.js version and don't rely on the system one.
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: preactjs/compressed-size-action@v2
with:
build-script: "build-webapps"
clean-script: "clean"
pattern: "**/webapp/{.next/static/chunks,lib/frontend/build}/**/*.js"
strip-hash: "\\b[-\\.](\\w{20})\\.js$"
minimum-change-threshold: 512 # Only report changes for > 0.5kb