# sxzz/workflows A collection of reusable GitHub Actions workflows and actions for TypeScript projects. > [!WARNING] > Due to GitHub Actions limitations and this project's goal of avoiding frequent per-project workflow updates, future changes may include breaking updates and **do not follow** SemVer. ## Features - Standardized CI/CD workflows for testing, building, and releasing - Easy integration into any TypeScript repository - Includes custom actions for setup and automation ## Included Workflows - **Unit Test**: Runs tests and reports coverage - **Release**: Publishes releases to npm/JSR - **Auto Fix**: Automatically fixes code style issues - **Publish Any Commit**: Releases any commit as a package ## Usage To use a workflow, reference it in your project’s `.github/workflows/*.yml`: ```yaml # Example: Unit Test name: Unit Test uses: sxzz/workflows/.github/workflows/unit-test.yml@main ``` > [!TIP] > Use the `vp` branch instead of `main` to use the [Vite Plus](https://viteplus.dev) variant, e.g. `sxzz/workflows/.github/workflows/unit-test.yml@vp`. See the [`examples/`](./examples) folder for sample workflow configurations: - [Unit Test](./examples/unit-test.yml) - [Release](./examples/release.yml) - [Auto Fix](./examples/autofix.yml) - [Publish Any Commit](./examples/release-commit.yml) ## Actions - [`setup-js/action.yml`](./setup-js/action.yml): Sets up Node.js and installs dependencies - [`setup-vp/action.yml`](./setup-vp/action.yml): Sets up Vite Plus and installs dependencies ## Contributing Contributions and suggestions are welcome! Please open issues or pull requests. ## Sponsors
## License [MIT](./LICENSE) License © 2025-PRESENT [Kevin Deng](https://github.com/sxzz)