{"id":22089461,"url":"https://github.com/prodyna/flutter-test-action","last_synced_at":"2026-04-11T19:31:46.845Z","repository":{"id":244917567,"uuid":"543162701","full_name":"PRODYNA/flutter-test-action","owner":"PRODYNA","description":"GitHub Action for `flutter test`","archived":false,"fork":false,"pushed_at":"2024-09-16T06:02:51.000Z","size":1338,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T22:48:30.550Z","etag":null,"topics":["action","flutter","github"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/PRODYNA.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-29T14:18:56.000Z","updated_at":"2024-06-18T08:29:23.000Z","dependencies_parsed_at":"2024-06-18T09:27:58.021Z","dependency_job_id":"44b9e839-9da5-491f-8b9a-e75e78993af6","html_url":"https://github.com/PRODYNA/flutter-test-action","commit_stats":null,"previous_names":["prodyna/flutter-test-action"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PRODYNA/flutter-test-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRODYNA%2Fflutter-test-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRODYNA%2Fflutter-test-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRODYNA%2Fflutter-test-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRODYNA%2Fflutter-test-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PRODYNA","download_url":"https://codeload.github.com/PRODYNA/flutter-test-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRODYNA%2Fflutter-test-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263711019,"owners_count":23499811,"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":["action","flutter","github"],"created_at":"2024-12-01T02:12:56.536Z","updated_at":"2025-12-30T22:16:34.085Z","avatar_url":"https://github.com/PRODYNA.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter-test-action\n\nThis action runs `flutter test` and attaches a [check run](https://docs.github.com/en/rest/checks/runs) to the current commit.\n\n## Usage\n\n```yaml\njobs:\n  test:\n    name: Test Runner\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v3\n    - name: Setup SDK\n      uses: subosito/flutter-action@v2\n      with:\n        flutter-version: \"3.0\"\n        cache: true\n    - uses: PRODYNA/flutter-test-action@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        project: ./app\n```\n\n## Code in Main\n\n\u003e First, you'll need to have a reasonably modern version of `node` handy. This won't work with versions older than 9, for instance.\n\nInstall the dependencies\n\n```bash\nnpm install\n```\n\nBuild the typescript and package it for distribution\n\n```bash\nnpm run build \u0026\u0026 npm run package\n```\n\nRun the tests :heavy_check_mark:\n\n```bash\n$ npm test\n\n PASS  ./index.test.js\n  ✓ throws invalid number (3ms)\n  ✓ wait 500 ms (504ms)\n  ✓ test runs (95ms)\n\n...\n```\n\n## Change action.yml\n\nThe action.yml defines the inputs and output for your action.\n\nSee the [documentation](https://help.github.com/en/articles/metadata-syntax-for-github-actions)\n\n## Change the Code\n\nMost toolkit and CI/CD operations involve async operations so the action is run in an async function.\n\nSee the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.\n\n## Publish to a distribution branch\n\nActions are run from GitHub repos so we will checkin the packed dist folder.\n\nThen run [ncc](https://github.com/zeit/ncc) and push the results:\n\n```bash\nnpm run package\ngit add dist\ngit commit -a -m \"prod dependencies\"\ngit push origin releases/v1\n```\n\nNote: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.\n\nYour action is now published! :rocket:\n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n\n## Validate\n\nYou can now validate the action by referencing `./` in a workflow in your repo (see [test.yml](.github/workflows/test.yml))\n\n```yaml\nuses: ./\nwith:\n  token: ${{ secrets.GITHUB_TOKEN }}\n  project: app\n```\n\nSee the [actions tab](https://github.com/actions/typescript-action/actions) for runs of this action! :rocket:\n\n## Create a Tag\n\nAfter testing you can [create a v1 tag](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) to reference the stable and latest V1 action\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodyna%2Fflutter-test-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprodyna%2Fflutter-test-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodyna%2Fflutter-test-action/lists"}