Skip to content

Commit bfda8eb

Browse files
susnuxCopilot
andauthored
docs: Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bf6720e commit bfda8eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,16 @@ steps:
9090
- run: npm test
9191
```
9292

93-
When using the `package.json` input, the action will look in following field for a specified Node version:
93+
When using the `package.json` input, the action will look in the following fields for a specified Node version:
9494
1. It checks `volta.node` first.
9595
2. Then it checks `devEngines.runtime`.
9696
3. Then it will look for `engines.node`.
9797
4. Otherwise it tries to resolve the file defined by [`volta.extends`](https://docs.volta.sh/advanced/workspaces)
98-
and look for `volta.node` or `engines.node` recursively.
98+
and look for `volta.node`, `devEngines.runtime`, or `engines.node` recursively.
9999

100100
### Example with `devEngines`
101101

102-
When a runtime engine (`engines.node`) is defined but also a development engine (`devEngines.runtime`) then the `devEngine` runtime version is used.
102+
When a runtime engine (`engines.node`) is defined but also a development engine (`devEngines.runtime`) then the `devEngines.runtime` version is used.
103103
This example will install a Node version based on the `^20.10` pattern.
104104

105105
```json

0 commit comments

Comments
 (0)