Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a validate workflow for each template #4

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

Corb3nik
Copy link
Contributor

@Corb3nik Corb3nik commented Oct 26, 2024

Fixes #3

Add a validate workflow to ensure templates are not broken.

  • Create a new workflow file .github/workflows/validate.yml.
  • Add on section to trigger workflow on push to main and on new PRs.
  • Add env section to set NODE_VERSION and PNPM_VERSION.
  • Add a job matrix to run pnpm install, pnpm build, and pnpm typecheck for each template in parallel.
  • Add steps to checkout project, setup Node.js, setup pnpm, install dependencies, build, and typecheck for each template.

For more details, open the Copilot Workspace session.

Fixes #3

Add a validate workflow to ensure templates are not broken.

* Create a new workflow file `.github/workflows/validate.yml`.
* Add `on` section to trigger workflow on push to `main` and on new PRs.
* Add `env` section to set `NODE_VERSION` and `PNPM_VERSION`.
* Add a job matrix to run `pnpm install`, `pnpm build`, and `pnpm typecheck` for each template in parallel.
* Add steps to checkout project, setup Node.js, setup pnpm, install dependencies, build, and typecheck for each template.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/caido-community/create-plugin/issues/3?shareId=XXXX-XXXX-XXXX-XXXX).
@Corb3nik Corb3nik merged commit 4c3d630 into main Oct 26, 2024
3 checks passed
@Corb3nik Corb3nik deleted the Corb3nik/add-validate-workflow branch October 26, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a validate workflow for each template
1 participant