Files
unity-builder/CONTRIBUTING.md
T
Webber TakkenandFrostebite 58e7224b82 ci: mise instead of corepack, tooling on Node 26 (#861)
* ci: install node and yarn with mise, not corepack

Node 25+ no longer ships corepack. The integrity job now installs node and yarn from mise.toml through jdx/mise-action, and keys the yarn cache on the resolved node version.

* build: upgrade TypeScript to 6 and Node types to 24

@types/node now matches the node24 runtime the action runs on; @types/node 24 needs TypeScript 5.2+. tsconfig moves to nodenext resolution (node10 is deprecated in TypeScript 6) and dist is rebuilt with the new emitter.

* build: move tooling and CI to Node 26.12.1

mise.toml pins Node 26.12.1, which the Integrity job now installs through mise-action. The action runtime stays node24, the highest GitHub Actions offers.

---------

Co-authored-by: Frostebite <[email protected]>
2026-10-24 19:19:53 +01:00

47 lines
1.6 KiB
Markdown

# Contributing
## How to Contribute
#### Code of Conduct
This repository has adopted the Contributor Covenant as it's Code of Conduct. It is expected that participants adhere to
it.
#### Proposing a Change
If you are unsure about whether or not a change is desired, you can create an issue. This is useful because it creates
the possibility for a discussion that's visible to everyone.
When fixing a bug it is fine to submit a pull request right away.
#### Sending a Pull Request
Steps to be performed to submit a pull request:
1. Fork the repository and create your branch from `main`.
2. Run `mise install` and then `yarn` in the repository root.
3. If you've fixed a bug or added code that should be tested, add tests!
4. Fill out the description, link any related issues and submit your pull request.
#### Pull Request Prerequisites
You have [mise](https://mise.jdx.dev/) installed; `mise install` sets up the [Node](https://nodejs.org/) and
[Yarn](https://yarnpkg.com/) versions pinned in `mise.toml` (Node 26, Yarn 4). The action itself runs on the
`node24` runtime of GitHub Actions.
Please note that commit hooks will run automatically to perform some tasks;
- format your code
- run tests
- build distributable files
#### Windows users
Make sure your editor and terminal that run the tests are set to `Powershell 7` or above with
`Git's Unix tools for Windows` installed. This is because some tests require you to be able to run `sh` and other
unix commands.
#### License
By contributing to this repository, you agree that your contributions will be licensed under its MIT license.