From f78f3112696275a80ce8b756cafe94695cafd17e Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Wed, 3 Jul 2024 20:01:21 +0900 Subject: [PATCH] CI(GitHub Actions): use `.node-version` Summary: Ref D497. Centralize management for node version management. Signed-off-by: Yongmin Hong Test Plan: land and wait for next npm-pub release. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Tags: #npm Differential Revision: https://issuetracker.revi.xyz/D502 --- .github/workflows/npm-pub.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-pub.yml b/.github/workflows/npm-pub.yml index 408dd87..7ef30d8 100644 --- a/.github/workflows/npm-pub.yml +++ b/.github/workflows/npm-pub.yml @@ -22,7 +22,7 @@ jobs: - name: 'Setup node.js' uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version-file: '.node-version' cache: npm registry-url: 'https://registry.npmjs.org' - name: 'Install dependencies' @@ -47,7 +47,7 @@ jobs: - name: 'Setup node.js' uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version-file: '.node-version' cache: npm registry-url: 'https://registry.npmjs.org' - name: 'Install dependencies'