{"id":5803377,"name":"godaddy-wordpress/setup-wp-env","ecosystem":"actions","description":"Runs wp-env to setup a WordPress site for testing.","homepage":"","licenses":"gpl-2.0","normalized_licenses":["GPL-2.0"],"repository_url":"https://github.com/godaddy-wordpress/setup-wp-env","keywords_array":["actions","wordpress","wp-env"],"namespace":"godaddy-wordpress","versions_count":2,"first_release_published_at":"2022-10-26T16:00:35.000Z","latest_release_published_at":"2022-10-26T16:00:35.000Z","latest_release_number":"1.0.0","last_synced_at":"2026-05-17T14:38:42.810Z","created_at":"2023-01-04T14:27:50.043Z","updated_at":"2026-05-17T14:38:42.810Z","registry_url":"https://github.com/godaddy-wordpress/setup-wp-env","install_command":null,"documentation_url":null,"metadata":{"name":"Setup WP-ENV","description":"Runs wp-env to setup a WordPress site for testing.","branding":{"icon":"code","color":"gray-dark"},"inputs":{"core":{"description":"The WordPress installation to use."},"phpVersion":{"description":"The PHP version to use."},"plugins":{"description":"A list of plugins to install and activate in the environment."},"themes":{"description":"A list of themes to install in the environment."},"config":{"description":"Mapping of wp-config.php constants to their desired values."},"mappings":{"description":"Mapping of WordPress directories to local directories to be mounted in the WordPress instance."},"env":{"description":"Override any of the above options on an individual-environment basis.","default":"{}"}},"runs":{"using":"composite","steps":[{"name":"Setup Node","uses":"actions/setup-node@v3","with":{"node-version":"lts/*"}},{"name":"Install wp-env","shell":"bash","run":"npm -g i @wordpress/env"},{"name":"Create the configuration file","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cnr '{ \"env\" : ${{ inputs.env }} }')\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the WordPress version","if":"${{ '' != inputs.core }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.core = \"${{ inputs.core }}\"' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the PHP version","if":"${{ '' != inputs.phpVersion }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.phpVersion = \"${{ inputs.phpVersion }}\"' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the plugins","if":"${{ '' != inputs.plugins }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.plugins = ${{ inputs.plugins }}' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the themes","if":"${{ '' != inputs.themes }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.themes = ${{ inputs.themes }}' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the config","if":"${{ '' != inputs.config }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.config = ${{ inputs.config }}' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Set the mappings","if":"${{ '' != inputs.mappings }}","shell":"bash","run":"WP_ENV_CONFIG=$(jq -cr '.mappings = ${{ inputs.mappings }}' \u003c\u003c\u003c \"$WP_ENV_CONFIG\")\necho \"WP_ENV_CONFIG=$WP_ENV_CONFIG\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Create .wp-env.override.json","shell":"bash","run":"jq -c . \u003e .wp-env.override.json \u003c\u003c\u003c \"$WP_ENV_CONFIG\""},{"name":"Start wp-env","shell":"bash","run":"wp-env start"}]},"default_branch":"main","path":null},"repo_metadata":{"id":61575846,"uuid":"546809088","full_name":"godaddy-wordpress/setup-wp-env","owner":"godaddy-wordpress","description":"Github Action for running a WordPress install using @wordpress/env.","archived":false,"fork":false,"pushed_at":"2022-10-26T16:01:15.000Z","size":11,"stargazers_count":17,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T13:32:18.203Z","etag":null,"topics":["actions","wordpress","wp-env"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/godaddy-wordpress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-06T17:23:44.000Z","updated_at":"2025-07-04T11:18:15.000Z","dependencies_parsed_at":"2023-01-11T17:23:47.398Z","dependency_job_id":null,"html_url":"https://github.com/godaddy-wordpress/setup-wp-env","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/godaddy-wordpress/setup-wp-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress","download_url":"https://codeload.github.com/godaddy-wordpress/setup-wp-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268065786,"owners_count":24190190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"godaddy-wordpress","name":"GoDaddy WordPress","uuid":"53908529","kind":"organization","description":"Open Source WordPress Projects from GoDaddy","email":"oss@godaddy.com","website":"https://godaddy.com","location":"United States of America","twitter":"GoDaddyOSS","company":null,"icon_url":"https://avatars.githubusercontent.com/u/53908529?v=4","repositories_count":63,"last_synced_at":"2024-04-14T05:09:14.879Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/godaddy-wordpress","funding_links":[],"total_stars":2169,"followers":45,"following":0,"created_at":"2022-11-03T23:22:05.621Z","updated_at":"2024-04-14T05:09:25.374Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy-wordpress/repositories"},"tags":[{"name":"v1","sha":"a94fb23f6f0b480767e634b478f615076e2baddf","kind":"tag","published_at":"2022-10-26T16:00:56.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-wp-env/tar.gz/v1","html_url":"https://github.com/godaddy-wordpress/setup-wp-env/releases/tag/v1","dependencies_parsed_at":"2023-06-01T11:01:57.014Z","dependency_job_id":null,"purl":"pkg:github/godaddy-wordpress/setup-wp-env@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/tags/v1/manifests"},{"name":"1.0.0","sha":"a94fb23f6f0b480767e634b478f615076e2baddf","kind":"tag","published_at":"2022-10-26T16:00:35.000Z","download_url":"https://codeload.github.com/godaddy-wordpress/setup-wp-env/tar.gz/1.0.0","html_url":"https://github.com/godaddy-wordpress/setup-wp-env/releases/tag/1.0.0","dependencies_parsed_at":"2023-06-01T11:01:55.928Z","dependency_job_id":null,"purl":"pkg:github/godaddy-wordpress/setup-wp-env@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-07-31T15:38:01.575Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.77895737601014,"dependent_packages_count":0.0,"stargazers_count":14.298843289494535,"forks_count":35.18301378545397,"docker_downloads_count":null,"average":18.565203612739662},"purl":"pkg:githubactions/godaddy-wordpress/setup-wp-env","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/godaddy-wordpress/setup-wp-env","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/godaddy-wordpress/setup-wp-env","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/godaddy-wordpress/setup-wp-env/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-11-19T22:48:00.627Z","issues_count":3,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":814034.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":2,"avg_comments_per_issue":0.6666666666666666,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy-wordpress%2Fsetup-wp-env/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/godaddy-wordpress%2Fsetup-wp-env/codemeta","maintainers":[]}