Skip to content

Commit

Permalink
splitting front and backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rachellerathbone committed Dec 12, 2023
1 parent 54e6b1a commit e511abd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,24 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

- name: Build Node.js and React project
# Install dependencies for backend (Node.js)
- name: Install Node.js backend dependencies
run: |
npm install
npm run build
working-directory: .
yarn install
working-directory: app

# Build frontend (React)
- name: Build React frontend
run: |
yarn install --ignore-engines --network-timeout 1000000l
yarn build
working-directory: app/jenkins-for-jira-ui

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
with:
fetch-depth: 2

- run: npm install
- run: yarn install
# Run npm install to install project dependencies for Node.js/React

- run: npm run build
- run: yarn build
# Run the build command for your React project
# You might need to adjust this based on your project's setup

Expand Down

0 comments on commit e511abd

Please sign in to comment.