Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
606 changes: 303 additions & 303 deletions .flox/env/manifest.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
version = 1
schema-version = "1.12.0"

[install]
livereload.pkg-path = "python313Packages.livereload"
livereload.outputs = "all"
imagemagick.pkg-path = "imagemagick"
imagemagick.outputs = "all"
pngquant.pkg-path = "pngquant"
optipng.pkg-path = "optipng"
libwebp.pkg-path = "libwebp"
just.pkg-path = "just"
just.outputs = "all"
google-lighthouse.pkg-path = "google-lighthouse"
google-lighthouse.systems = ["aarch64-linux", "x86_64-linux"]
nodejs.pkg-path = "nodejs"
nodejs.outputs = "all"
clean-css-cli.pkg-path = "clean-css-cli"

[hook]
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/lighthouse-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,23 @@ jobs:
- name: Activate Flox environment
run: flox activate

# Stash the PR branch's (fixed) Flox env so we can reuse it to measure the
# base branch. The base branch may have an older/broken env locked, which
# would otherwise fail `flox activate` and block the whole job.
- name: Save PR Flox environment
run: cp -r .flox /tmp/pr-flox

# Test BASE branch first
- name: Checkout base branch
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- name: Restore PR Flox environment onto base branch
run: |
rm -rf .flox
cp -r /tmp/pr-flox .flox

- name: Start dev server for base branch
run: |
flox activate -- livereload --port 8888 > /dev/null 2>&1 &
Expand Down
Loading
Loading