From abc1116036f3a704f59b083574361c6cfc83f9ef Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Tue, 19 Nov 2024 17:13:19 -0500 Subject: [PATCH] Use the Node version specified in nvmrc to build (#985) We're updating from Node 18 to Node 22 LTS. Using the `.nvmrc` file to keep this step consistent and avoid having to change it in multiple places in the future. --- .github/workflows/preview-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index b3f1093e6..bd6e3f49c 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -54,7 +54,7 @@ jobs: - name: Install node uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: modal/.nvmrc - name: Install node packages run: npm ci --include=dev