mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-11-28 16:18:06 -08:00
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]>
This commit is contained in:
co-authored by
Frostebite
parent
51325fd536
commit
58e7224b82
+4
-2
@@ -19,13 +19,15 @@ When fixing a bug it is fine to submit a pull request right away.
|
||||
Steps to be performed to submit a pull request:
|
||||
|
||||
1. Fork the repository and create your branch from `main`.
|
||||
2. Run `yarn` in the repository root.
|
||||
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 [Node](https://nodejs.org/) installed at v18+ and [Yarn](https://yarnpkg.com/) at v1.22.0+.
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user