{"id":16179734,"url":"https://github.com/bep/netlify-cypress-test","last_synced_at":"2025-03-19T01:31:01.722Z","repository":{"id":53216167,"uuid":"349024284","full_name":"bep/netlify-cypress-test","owner":"bep","description":"Just a minimal repo to set up a Cypress integration test running in a GitHub Action after a successful Netlify preview build.","archived":false,"fork":false,"pushed_at":"2024-08-10T12:57:56.000Z","size":56,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T01:41:21.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bep.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-18T10:05:16.000Z","updated_at":"2024-08-10T12:58:00.000Z","dependencies_parsed_at":"2024-10-27T19:23:14.419Z","dependency_job_id":"3bd1abb0-5337-40fd-b22f-d6b82c5b45f8","html_url":"https://github.com/bep/netlify-cypress-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fnetlify-cypress-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fnetlify-cypress-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fnetlify-cypress-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fnetlify-cypress-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bep","download_url":"https://codeload.github.com/bep/netlify-cypress-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244336153,"owners_count":20436775,"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","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"}},"keywords":[],"created_at":"2024-10-10T05:43:54.743Z","updated_at":"2025-03-19T01:31:01.463Z","avatar_url":"https://github.com/bep.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Just a minimal repo to set up [Cypress](https://www.cypress.io/) integration tests running in a GitHub Action after a successful [Netlify](https://www.netlify.com/) preview build.\n\nWhy not run these tests on Netlify, you ask? I tried, but there are several reasons why running these on GitHub is better:\n\n* There are no (known) way to run tests on Netlify on the published site _and_ fail the Netlify build.\n* Setting up the Cypress environment can be a hassle -- there are ready-to-use GitHub Actions with matching Docker containers for this.\n* GitHub builds are cheaper (or … more free)\n\nSee the GitHub Action [workflow file](.github/workflows/cypress.yml). This workflow triggers on Pull Request status updates from Netlify, runs the Cypress tests when the Netlify preview is ready, and updates the PR's test status to be one of `pending`, `failure` or `success`.\n\nThe workflow can be tested with [Ack](https://github.com/nektos/act) locally:\n\n```bash\nact status -e test-event.json\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbep%2Fnetlify-cypress-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbep%2Fnetlify-cypress-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbep%2Fnetlify-cypress-test/lists"}