From 5ad5359c27b411d09c6fa7d4ecf9e440905f3c37 Mon Sep 17 00:00:00 2001 From: jyyi1 Date: Thu, 2 Jan 2025 16:06:23 -0500 Subject: [PATCH] add node configuration --- .github/workflows/codeql.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 00076bab93..ad3d3fe1bc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -67,6 +67,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + # Make sure Node version meets our requirement + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version-file: .nvmrc + cache: npm + cache-dependency-path: ./package-lock.json + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3