Skip to content

Commit 729dc01

Browse files
chore(ci): configure CodeQL to ignore generated artifacts and build out-of-tree
1 parent 957115d commit 729dc01

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: github/codeql-action/init@v4
2929
with:
3030
languages: ${{ matrix.language }}
31+
config-file: .github/codeql/codeql-config.yml
3132

3233
- name: Set up Node.js
3334
uses: actions/setup-node@v6
@@ -37,10 +38,10 @@ jobs:
3738
- name: Install dependencies
3839
run: npm ci
3940

40-
- name: Build project
41-
run: npm run build
41+
- name: Build project (write output outside repo workspace)
42+
run: npm run build -- --output-path=/tmp/hevelius-dist
4243

4344
- name: Perform CodeQL Analysis
4445
uses: github/codeql-action/analyze@v4
4546
with:
46-
category: "/language:${{ matrix.language }}"
47+
category: ${{ matrix.language }}

0 commit comments

Comments
 (0)