Skip to content

Commit

Permalink
MAPR-562: update codeQl
Browse files Browse the repository at this point in the history
  • Loading branch information
linhpd-axonivy committed Jul 24, 2024
1 parent effa976 commit c75719d
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand All @@ -54,24 +56,32 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Build Spring Boot project
if: matrix.language == 'java-kotlin'
run: |
cd marketplace-service
cd ./marketplace-service
./mvnw clean install -DskipTests
- name: Set up Node.js
if: matrix.language == 'javascript-typescript'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'
cache-dependency-path: ./marketplace-ui/package-lock.json

- name: Install Dependencies
if: matrix.language == 'javascript-typescript'
run: |
cd ./marketplace-ui
npm install
- name: Build Angular project
if: matrix.language == 'javascript-typescript'
run: |
cd marketplace-ui
npm ci
cd ./marketplace-ui
npm run build
- name: Perform CodeQL Analysis
Expand Down

0 comments on commit c75719d

Please sign in to comment.