{"id":22400102,"url":"https://github.com/currents-dev/gh-actions-example","last_synced_at":"2025-07-31T14:32:28.016Z","repository":{"id":37919497,"uuid":"407280768","full_name":"currents-dev/gh-actions-example","owner":"currents-dev","description":"This is an example repository that showcases using Cypress GitHub Actions with Currents.dev.","archived":false,"fork":false,"pushed_at":"2024-08-15T13:20:36.000Z","size":321,"stargazers_count":7,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-30T14:45:21.900Z","etag":null,"topics":["currents","cypress","github-actions"],"latest_commit_sha":null,"homepage":"https://currents.dev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/currents-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-09-16T18:53:21.000Z","updated_at":"2024-05-12T18:50:43.000Z","dependencies_parsed_at":"2024-01-30T23:08:34.325Z","dependency_job_id":null,"html_url":"https://github.com/currents-dev/gh-actions-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fgh-actions-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fgh-actions-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fgh-actions-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fgh-actions-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currents-dev","download_url":"https://codeload.github.com/currents-dev/gh-actions-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228257740,"owners_count":17892652,"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":["currents","cypress","github-actions"],"created_at":"2024-12-05T08:11:23.309Z","updated_at":"2024-12-05T08:11:24.554Z","avatar_url":"https://github.com/currents-dev.png","language":"JavaScript","readme":"# Currents.dev - GitHub Actions Example\n\nThis is an example repository that showcases using [Currents.dev](https://currents.dev) for running cypress tests on GitHub Actions.\n\nThe example [workflow config file](https://github.com/currents-dev/gh-actions-example/blob/main/.github/workflows/currents.yml):\n\n- runs 3 containers with cypress tests in parallel\n\n- install [block-free Cypress binaries](https://currents.dev/readme/integration-with-cypress/alternative-cypress-binaries)\n\n- uses [Custom Test Command](https://github.com/cypress-io/github-action#custom-test-command) to run `cypress-cloud` for recording test results and parallelization with [Currents.dev](https://currents.dev)\n\n- Note: get your record key from [Currents.dev](https://app.currents.dev) and set [GH secret](https://docs.github.com/en/actions/reference/encrypted-secrets) variable `CURRENTS_RECORD_KEY`\n\n- Note: set the `projectId` in `currents.config.js` - obtain the project id from [Currents.dev](https://app.currents.dev)\n\n- Note: use CLI arguments to customize your cypress-cloud runs, e.g.: `npx cypress-cloud run --parallel --record --key \u003cyour currents.dev key\u003e --group groupA`\n\nHere's an example of how the demo workflow appears in Currents dashboard:\n\nhttps://user-images.githubusercontent.com/1637928/227701237-db4d7a7f-b26b-46ac-ba6a-3806ede37671.mp4\n\n## Using Alternative Cypress Binaries\n\nFollowing [aggressive blocking](https://github.com/cypress-io/cypress/issues/28269) by Cypress.io team we released alternative, block-free Cypress binaries that were compiled from the MIT-licensed Cypress source code.\n\nThe documentation is available at: https://currents.dev/readme/integration-with-cypress/alternative-cypress-binaries.\n\nThe example in this repository uses [cypress-io/github-action@v6](https://github.com/cypress-io/github-action). `cypress-io/github-action` **caches and restores cypress binaries before running the tests** - you need to disable this behaviour to use the freshly installed non-blocking binaries:\n\n```yml\n- name: Run Cypress on Currents.dev\n  env:\n    # enable verbose logging\n    DEBUG: \\@cypress/github-action\n  uses: cypress-io/github-action@v6\n  continue-on-error: true\n\n  with:\n    # 🔥 Set to false to prevent restoring cached blocking Cypress binary\n    install: false\n    command: |\n      npx cypress-cloud --record --parallel --browser chrome --key ${{ secrets.CURRENTS_RECORD_KEY }} --ci-build-id \"${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fgh-actions-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrents-dev%2Fgh-actions-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fgh-actions-example/lists"}