From 9b16eb1c4b99b5190c15417abbfa5c93320d2182 Mon Sep 17 00:00:00 2001 From: Maurizio Casimirri Date: Wed, 13 Dec 2023 22:12:10 +0100 Subject: [PATCH] Add or update CodeQL workflow --- .github/workflows/codeql.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e85a358..aa6ff81 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,6 +43,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Use Node.js v18.x + if: matrix.language == 'cpp' + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + with: + node-version: 18.x + + - name: Npm install + if: matrix.language == 'cpp' + run: | + npm install + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2