A repository of templates for GitHub Actions CI configurations.
- JavaScript
- Node.js Cross-Platform:
- Runs builds on:
- Ubuntu (Latest),
- Windows (Latest),
- macOS (Latest)
- Using all versions of Node.js that are currently supported by the Node.js project,
- Using
npm install
andnpm test
.
- Runs builds on:
- Node.js Cross-Platform (using Yarn)
- Runs builds on:
- Ubuntu (Latest),
- Windows (Latest),
- macOS (Latest)
- Using all versions of Node.js that are currently supported by the Node.js project,
- Using
yarn install
andyarn test
.
- Runs builds on:
- Node.js Cross-Platform (using pnpm):
- Runs builds on:
- Ubuntu (Latest),
- Windows (Latest),
- macOS (Latest)
- Using all versions of Node.js that are currently supported by the Node.js project.
- Using
pnpm install
andpnpm test
.
- Runs builds on:
- Node.js Cross-Platform:
Add the appropriate YAML to your repository under the .github/workflows/
path, naming the YAML whatever you'd like to name it. I generally like to follow the language-platform(s)-ci.yml
pattern, but your mileage may vary.
For example, if you wanted to use the nodejs-cross-platform-ci.yml
template, you'd add it in:
- .github/
- workflows/
- nodejs-cross-platform-ci.yml # you can rename this whatever you'd like
If you'd like to improve the templates provided, you're more than welcome to submit a PR! If you notice a template that's entirely missing but you'd like to see, feel free to send a Pull Request to add it yourself or create an issue requesting it to be added.