ci(codeql): add install Node.js for javascript-typescript extractor

This commit is contained in:
litebito 2026-05-14 12:28:57 +02:00
parent ed6b12245a
commit cf4b98dc2d

View file

@ -3,16 +3,10 @@ name: "CodeQL Advanced"
on:
push:
branches: [ 'main' ]
paths-ignore:
- "**.md"
- "*.txt"
- ".github/**"
paths-ignore: [ "**.md", "*.txt", ".github/**" ]
pull_request:
branches: [ 'main' ]
paths-ignore:
- "**.md"
- "*.txt"
- ".github/**"
paths-ignore: [ "**.md", "*.txt", ".github/**" ]
schedule:
- cron: '0 19 * * 6'
workflow_dispatch:
@ -42,6 +36,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node.js (required for javascript-typescript extractor)
if: matrix.language == 'javascript-typescript'
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with: