{"id":26731019,"url":"https://github.com/web-server-userland/fastify-workflows","last_synced_at":"2025-03-27T23:34:45.277Z","repository":{"id":43492715,"uuid":"511359238","full_name":"web-server-userland/fastify-workflows","owner":"web-server-userland","description":" Reusable workflows for use in the Fastify plugin","archived":false,"fork":false,"pushed_at":"2022-10-21T02:25:35.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-21T23:02:37.642Z","etag":null,"topics":["fastify","workflow"],"latest_commit_sha":null,"homepage":"","language":null,"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/web-server-userland.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-07-07T02:39:07.000Z","updated_at":"2022-12-29T17:49:44.000Z","dependencies_parsed_at":"2023-01-20T03:19:38.612Z","dependency_job_id":null,"html_url":"https://github.com/web-server-userland/fastify-workflows","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-server-userland%2Ffastify-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-server-userland%2Ffastify-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-server-userland%2Ffastify-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-server-userland%2Ffastify-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-server-userland","download_url":"https://codeload.github.com/web-server-userland/fastify-workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944062,"owners_count":20697946,"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":["fastify","workflow"],"created_at":"2025-03-27T23:34:21.872Z","updated_at":"2025-03-27T23:34:45.267Z","avatar_url":"https://github.com/web-server-userland.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# @web-server-userland/fastify-workflows\n\nThis is the github workflows for the fastify plugin community.\n\nInspired by: [fastify/workflows](https://github.com/fastify/workflows)\n\n## Usage\n\nA reusable workflow is called by using the uses keyword in another workflow:\n\n```yml\nname: CI\n\non:\n  push:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n\njobs:\n  npm:\n    uses: web-server-userland/fastify-workflows/.github/workflows/plugin-ci-npm.yml@v2\n    with:\n      lint: true\n\n  yarn:\n    uses: web-server-userland/fastify-workflows/.github/workflows/plugin-ci-yarn.yml@v2\n\n  pnpm:\n    uses: web-server-userland/fastify-workflows/.github/workflows/plugin-ci-pnpm.yml@v2\n```\n\n### Inputs\n\n#### npm\n\n| Input Name          | Required | Type    | Default                        | Description                                                              |\n| ------------------- | -------- | ------- | ------------------------------ | ------------------------------------------------------------------------ |\n| `lint`              | false    | boolean | `false`                        | Set to `true` to run the `lint` script in a repository's `package.json`. |\n| `lint-node-version` | false    | string  | `16`                           | Version of node to install for lint script.                              |\n| `lint-script`       | false    | string  | `npm run lint`                 | npm run lint script.                                                     |\n| `install-script`    | false    | string  | `npm install --ignore-scripts` | npm run install script.                                                  |\n| `test-script`       | false    | string  | `npm run test:ci`              | npm run test script.                                                     |\n| `coveralls`         | false    | boolean | `false`                        | enable coveralls.                                                        |\n\n#### yarn\n\n| Input Name          | Required | Type    | Default                                           | Description                                                              |\n| ------------------- | -------- | ------- | ------------------------------------------------- | ------------------------------------------------------------------------ |\n| `lint`              | false    | boolean | `false`                                           | Set to `true` to run the `lint` script in a repository's `package.json`. |\n| `lint-node-version` | false    | string  | `16`                                              | Version of node to install for lint script.                              |\n| `lint-script`       | false    | string  | `yarn run lint`                                   | Yarn run lint script.                                                    |\n| `install-script`    | false    | string  | `yarn install --ignore-scripts --frozen-lockfile` | Yarn run install script.                                                 |\n| `test-script`       | false    | string  | `yarn run test:ci`                                | Yarn run test script.                                                    |\n| `coveralls`         | false    | boolean | `false`                                           | enable coveralls.                                                        |\n\n#### pnpm\n\n| Input Name          | Required | Type    | Default                         | Description                                                              |\n| ------------------- | -------- | ------- | ------------------------------- | ------------------------------------------------------------------------ |\n| `lint`              | false    | boolean | `false`                         | set to `true` to run the `lint` script in a repository's `package.json`. |\n| `lint-node-version` | false    | string  | `16`                            | version of node to install for lint script.                              |\n| `lint-script`       | false    | string  | `pnpm run lint`                 | pnpm run lint script.                                                    |\n| `install-script`    | false    | string  | `pnpm install --ignore-scripts` | pnpm run install script.                                                 |\n| `test-script`       | false    | string  | `pnpm run test:ci`              | pnpm run test script.                                                    |\n| `coveralls`         | false    | string  | `false`                         | enable coveralls.                                                        |\n| `pnpm-version`      | false    | boolean | `7.4.0`                         | install pnpm version.                                                    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-server-userland%2Ffastify-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-server-userland%2Ffastify-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-server-userland%2Ffastify-workflows/lists"}