{"id":13828838,"url":"https://github.com/stefanoeb/jest-action","last_synced_at":"2025-07-09T06:33:15.981Z","repository":{"id":65161864,"uuid":"167609158","full_name":"stefanoeb/jest-action","owner":"stefanoeb","description":"Wraps and install Jest test runner in a github action.","archived":false,"fork":false,"pushed_at":"2020-06-07T09:55:25.000Z","size":17,"stargazers_count":95,"open_issues_count":1,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-09T11:49:12.592Z","etag":null,"topics":["actions","ci","javascript","jest"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/stefanoeb.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":"2019-01-25T20:28:00.000Z","updated_at":"2024-06-23T16:30:41.000Z","dependencies_parsed_at":"2023-01-04T12:39:02.214Z","dependency_job_id":null,"html_url":"https://github.com/stefanoeb/jest-action","commit_stats":{"total_commits":18,"total_committers":5,"mean_commits":3.6,"dds":0.2777777777777778,"last_synced_commit":"f9bb23f509cde20ee9b494f0496d1d3323861cc4"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanoeb%2Fjest-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanoeb%2Fjest-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanoeb%2Fjest-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanoeb%2Fjest-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanoeb","download_url":"https://codeload.github.com/stefanoeb/jest-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225492420,"owners_count":17482869,"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":["actions","ci","javascript","jest"],"created_at":"2024-08-04T09:03:13.460Z","updated_at":"2024-11-20T08:31:13.348Z","avatar_url":"https://github.com/stefanoeb.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# ⚠️⚠️⚠️ You don't need this action ⚠️⚠️⚠️\n\nGithub Actions have everything that you need to run your jest tests, to do that simply use the `run` commands like so:\n```yml\nname: CI\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Install modules\n      run: yarn\n    - name: Run tests\n      run: yarn test\n```\n\n---\n\nThis action executes Jest test runner without any previous action/build step or Docker required.\n\n## Prerequisites\n\n### Jest\nYou must have the Jest running locally for the action to execute.\nMore info [on the Jest getting started guide](https://jestjs.io/docs/en/getting-started)\n\n## Usage\n\nAdd to your `main.yml` file or create a new file named `.github/workflows/test.yml` and add:\n\n```yml\n\nname: Tests\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Run Jest\n      uses: stefanoeb/jest-action@1.0.3\n```\n\nYou can also pass custom args to jest through the `with:` parameter:\n\n```yml\n\nname: Tests\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Run Jest\n      uses: stefanoeb/jest-action@1.0.3\n      with:\n        jestArgs: path/to/my.test.js\n```\n\n\nIf there is no previous step installing the necessary modules, this action will execute a `yarn install` or `npm install` automatically.\n\n## License\n\nThe Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanoeb%2Fjest-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanoeb%2Fjest-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanoeb%2Fjest-action/lists"}