Skip to content

Commit

Permalink
Fix CodeQL building
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEady committed Jul 12, 2023
1 parent a05f82c commit 6a2f563
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["cpp", "javascript", "python", "typescript"]
language: ["cpp", "javascript", "typescript"]
# CodeQL supports [ $supported-codeql-languages ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

Expand All @@ -59,8 +59,19 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@46ed16ded91731b2df79a2893d3aea8e9f03b5c4 # v2.20.3
# - name: Autobuild
# uses: github/codeql-action/autobuild@46ed16ded91731b2df79a2893d3aea8e9f03b5c4 # v2.20.3

- name: Use Node.js v18.x
if: matrix.language == 'cpp'
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: 18.x

- name: Build cpp
if: matrix.language == 'cpp'
run: |
npm install && npm test
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down

0 comments on commit 6a2f563

Please sign in to comment.