Skip to content

splitting front and backend #1243

splitting front and backend

splitting front and backend #1243

name: "Code scanning - action"
on:
push:
schedule:
- cron: '0 4 * * 0'
jobs:
CodeQL-Build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Build backend (Node.js)
- name: Build Node.js backend
run: |
cd app/src
npm install
npm run build
working-directory: jenkins-for-jira/app/src
# 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