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:
Ryan Turner 2024-11-16 15:04:39 -06:00 committed by GitHub
parent 793c00a021
commit e2af80fb5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -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

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
23.1.0

View file

@ -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
```