diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f55a95de..ea95aecc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..ed1add2e --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +23.1.0 \ No newline at end of file diff --git a/docs/development/documentation/local-dev.mdx b/docs/development/documentation/local-dev.mdx index ae64ff27..1f33a711 100644 --- a/docs/development/documentation/local-dev.mdx +++ b/docs/development/documentation/local-dev.mdx @@ -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 ```