Repository navigation
Conversation
Fresh orbs ship Node 26, under which Playwright 1.56's zip extractor never settles, so `playwright install` hangs after the first file. Setup installs Node 22 (the version CI uses) on the repository's PATH, then npm ci, Playwright Chromium and WebKit with system packages, habit-hooks with its plugins, and pytest. Amp-Thread-ID: https://ampcode.com/threads/T-01a18ded-a697-70d0-8d84-d3b629511658 Co-authored-by: Lada Kesseler <archie.kesseler@gmail.com>
Builds the Cloudflare site and serves it with wrangler pages dev on the port Amp assigns, so the Portal tab opens the site at /. Amp-Thread-ID: https://ampcode.com/threads/T-01a18ded-a697-70d0-8d84-d3b629511658 Co-authored-by: Lada Kesseler <archie.kesseler@gmail.com>
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.
Amp orbs are cloud machines where a coding agent can work on a repository. This adds
.agents/setup, the script Amp runs to prepare an orb, so an agent there can run the site and the tests straight away. It installs Node 22, the version CI uses, plus the project's dependencies and test browsers. It also adds.amp/services.yaml, which tells an orb how to run the site.The script only runs in orbs, so the website, CI and local development don't change. The
.gitignorechange covers files Amp generates in orbs.The unit and browser tests pass in an orb with this setup.