From c8e90fb7f1b39fe6477db2c0cf13794d6edf7051 Mon Sep 17 00:00:00 2001 From: Rachelle Rathbone Date: Tue, 12 Dec 2023 14:47:47 +1100 Subject: [PATCH] splitting front and backend --- .github/workflows/codeql-analysis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e027d0bb4..8eb7c7601 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,11 +20,21 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v2 - - name: Build Node.js and React project + # Build backend (Node.js) + - name: Build Node.js backend run: | + cd app/src npm install npm run build - working-directory: . + working-directory: jenkins-for-jira/app + + # Build frontend (React) + - name: Build React frontend + run: | + cd app/jenkins-for-jira-ui + npm install + npm run build + working-directory: jenkins-for-jira/app/jenkins-for-jira-ui - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2