mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-24 05:04:11 -08:00
chore(nvm): adopt nvm for managing node versions, update docs to refelct that. (#1579)
Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
This commit is contained in:
parent
793c00a021
commit
e2af80fb5d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '23.1.0'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: pnpm install
|
||||
|
|
|
@ -8,7 +8,7 @@ sidebar_label: Local Development
|
|||
|
||||
In order to set up your local environment, you will need to install:
|
||||
|
||||
- [Node.js Runtime](https://nodejs.org)
|
||||
- [Node Version Manager](https://github.com/nvm-sh/nvm)
|
||||
- [PNPM Package Manager](https://pnpm.io)
|
||||
|
||||
## Getting Started
|
||||
|
@ -41,6 +41,10 @@ git submodule update --init --recursive
|
|||
|
||||
### Install Dependencies
|
||||
|
||||
```shell title="Install Node.js using NVM"
|
||||
nvm install && nvm use
|
||||
```
|
||||
|
||||
```shell title="Install dependencies using pnpm"
|
||||
pnpm i
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue