Use Moon Node tasks and browserless generated-site tests - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solid Static now verifies its generated site artifacts entirely in Node. The client-island suite builds real Vite fixtures and parses emitted HTML, CSS, and JavaScript with Cheerio, PostCSS, and Acorn; the package no longer requires Playwright, Chromium, or Compose.
Coverage includes root, subpath, relative, and CDN asset URLs; static fallback content; per-page CSS and shared chunks; client configuration transforms; valid emitted module imports; and development HTTP responses. Fixture directories and development ports are isolated, including concurrent build cases.
Moon uses its JavaScript and Node toolchains with Nub, explicit build prerequisites, and commands declared in
moon.yml. The same tasks work in this standalone repository and the consuming Listenbox workspace. Browser-only configuration, CI artifacts, dependencies, and old browser tests are removed.Validation: a clean standalone checkout installed with
nub install --frozen-lockfile, then passedmoon run solid-static:checkandmoon ci --forcewith Docker pointed at an unavailable socket. All 44 tests passed across 10 files; the forced CI run completed all 4 eligible actions.