build: specify Node version using .nvmrc file (#433)

* build: specify Node.js version in `.nvmrc` file

* ci: setup Node.js with version specified in `.nvmrc`
This commit is contained in:
Alfi Maulana
2024-09-04 12:54:34 +07:00
committed by GitHub
parent 5b6a8c239e
commit 7920840f24
5 changed files with 5 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4.0.3
with:
node-version: latest
node-version-file: .nvmrc
- name: Setup Yarn
uses: threeal/setup-yarn-action@v2.0.0