Skip to content

Commit 6cb5a30

Browse files
committed
fix(ci): 🔧 Add nodejs to the CodeQL workflow
1 parent f7c1a06 commit 6cb5a30

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
analyze:
1313
name: Analyze (${{ matrix.language }})
14-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
14+
runs-on: ubuntu-latest
1515
permissions:
1616
security-events: write
1717
packages: read
@@ -23,6 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26+
node-version: [20.x]
2627
include:
2728
- language: c-cpp
2829
build-mode: manual
@@ -31,6 +32,10 @@ jobs:
3132
- language: python
3233
build-mode: none
3334
steps:
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v4
37+
with:
38+
node-version: ${{ matrix.node-version }}
3439
- name: Checkout repository
3540
uses: actions/checkout@v4
3641

0 commit comments

Comments
 (0)