Skip to content

fix : updated the scripts and workflows and .eslintrc.json so build passes successfully. - #46

Merged
drtechie merged 4 commits into
PSMRI:developfrom
Zapper9982:bugfix/issue-50
Apr 9, 2025
Merged

fix : updated the scripts and workflows and .eslintrc.json so build passes successfully.#46
drtechie merged 4 commits into
PSMRI:developfrom
Zapper9982:bugfix/issue-50

Conversation

@Zapper9982

@Zapper9982 Zapper9982 commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

📋 Description

JIRA ID:

GitHub Issue: Fixes PSMRI/AMRIT#50

Changes Made :

  • Updated the submodule to the latest commit.

  • Updated the .eslintrc.json to handle js/jsx as ci-prebuild is a .js file

  • GitHub Actions: Build on Pull Request

    • Updated .github/workflows/build-on-pull-request.yml to properly handle submodules during the build.
  • GitHub Actions: Package Workflow

    • Replaced deprecated versions in .github/workflows/. upgrade all to latets versions .
  • Consistent Build Handling:
    -- environment is first touched , and then the the command are run.

    • build-ci
    • build-prod
    • build-dev
    • build-test

✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

Screenshots

  • Build passing:
Screenshot 2025-04-09 at 4 36 32 PM

Summary by CodeRabbit

  • Chores

    • Updated coding standards and repository configurations to promote consistency and streamline development workflows.
    • Improved continuous integration and deployment setups with upgraded automation components for faster, more reliable builds.
    • Added new environment variable SESSION_STORAGE_ENC_KEY for enhanced configuration management.
    • Added a new entry to .gitignore for src/environments/environment.ci.ts.
  • Refactor

    • Streamlined build processes with enhanced production settings and automated environment validations.
    • Refined overall configuration management to ensure smoother development and deployment cycles.
    • Introduced file replacements in the production build configuration for environment-specific settings.
    • Updated submodule URL for "Common-UI" to remove the .git suffix.
  • New Features

    • Added new rules for JavaScript and JSX files to improve code quality and enforce best practices.

@coderabbitai

coderabbitai Bot commented Apr 9, 2025

Copy link
Copy Markdown

Walkthrough

This pull request makes configuration updates across various project files. The ESLint settings are modified to streamline TypeScript and HTML rules and add a new override for JavaScript/JSX. The GitHub Actions workflows in multiple YAML files have been updated to use newer action versions and revised build commands, including replacing the build commands with npm run build-ci. Other changes include updating the gitignore and submodule URL, modifying Angular production build options with file replacements, enhancing package build scripts to ensure necessary environment files, and adding a new environment variable in the CI prebuild script.

Changes

File(s) Change Summary
.eslintrc.json Simplified TypeScript/HTML configurations; removed plugin:prettier/recommended; added override for JavaScript/JSX with new environment, parser options, and rules.
.github/workflows/build-on-pull-request.yml, .github/workflows/package.yml Upgraded GitHub Action versions (checkout, setup-java, setup-node, upload-artifact) and replaced build commands with npm run build-ci; removed installation of certain npm packages.
.github/workflows/package-prod.yml Removed the entire workflow configuration for packaging, including jobs and steps related to building and uploading artifacts.
.gitignore Added entry to ignore src/environments/environment.ci.ts.
.gitmodules Modified submodule "Common-UI" URL by removing the .git suffix.
Common-UI Updated subproject commit reference to a new commit hash.
angular.json Added "fileReplacements" in the production build configuration to swap environment files.
package.json Updated build scripts (build-dev, build-prod, build-ci, build-test) to check for the existence of src/environments/environment.ts and create it if missing.
scripts/ci-prebuild.js Introduced a new variable SESSION_STORAGE_ENC_KEY into the defaultEnvValues object.

Sequence Diagram(s)

sequenceDiagram
    participant CI as "CI Pipeline"
    participant Env as "Environment Checker"
    participant Prebuild as "CI Prebuild Script"
    participant Build as "Build Process"

    CI->>Env: Check for "src/environments/environment.ts"
    alt File Missing
        Env->>CI: Create file using "touch"
    else File Exists
        Env->>CI: Confirm existence
    end
    CI->>Prebuild: Execute ci-prebuild.js
    Prebuild-->>CI: Set environment variables (incl. SESSION_STORAGE_ENC_KEY)
    CI->>Build: Run build command ("npm run build-ci")
    Build-->>CI: Return build output
Loading

Assessment against linked issues

Objective Addressed Explanation
Ensure CI pipeline runs successfully, including correct Node.js version and submodules [#50]
Verify that the required submodules are correctly referenced and initialized [#50]
Confirm that the "npm run build-ci" command completes successfully without build errors [#50]

Possibly related PRs

Suggested reviewers

  • drtechie

Poem

I’m a rabbit hopping through the code,
Skipping through updates in files untold.
ESLint and workflows now sing a new tune,
With build commands shining like a warm afternoon.
In this garden of scripts, I cheer with delight,
Debugging and dancing through every byte!
🐇✨


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (8)
.github/workflows/build-on-pull-request.yml (1)

17-22: Setup Java Action Upgrade & Formatting
Switching to actions/setup-java@v4 is well executed. Please verify that the specified distribution ('adopt') remains valid for v4. Also, note that YAMLlint flagged trailing spaces on line 22—removing these will improve file consistency.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 22-22: trailing spaces

(trailing-spaces)

.github/workflows/package.yml (3)

18-20: Upgraded Checkout Action & Trailing Spaces Cleanup
The checkout step is now using actions/checkout@v4, which is appropriate. Please also remove any trailing spaces (e.g., on line 20) for cleaner YAML formatting.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 20-20: trailing spaces

(trailing-spaces)


22-26: Setup Java Step Formatting
Updating to actions/setup-java@v4 is a solid improvement. There appears to be extra indentation on line 25—adjusting the indentation and removing any trailing spaces will help maintain standard YAML style.

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)


33-40: Updated Build Command & Formatting
The updated build command npm run build-ci reflects the new build process. Please check for and remove any trailing spaces (notably on line 40) to satisfy YAML linting requirements.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 40-40: trailing spaces

(trailing-spaces)

.github/workflows/package-prod.yml (4)

1-1: YAML Formatting – Excess Spaces
The workflow name in line 1 (name: Package Prod) contains extra spaces after the colon. Please adjust to a consistent format (e.g., name: Package Prod).

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 1-1: too many spaces after colon

(colons)


18-20: Upgraded Checkout Action
The checkout step now uses actions/checkout@v4, which is a welcome update. Additionally, remove any trailing whitespace on line 20.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 20-20: trailing spaces

(trailing-spaces)


22-28: Set Up Java – Indentation & Trailing Spaces
The Java setup uses actions/setup-java@v4 correctly; however, please ensure that the with block maintains consistent indentation (note the extra spaces on line 25) and remove trailing spaces from lines 27–28.

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)


35-42: Updated Build Command Consistency
The build command change to npm run build-ci is in line with the new standard. Please remove any trailing spaces present on line 42.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 35-35: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4070325 and 992c0dd.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (10)
  • .eslintrc.json (3 hunks)
  • .github/workflows/build-on-pull-request.yml (2 hunks)
  • .github/workflows/package-prod.yml (3 hunks)
  • .github/workflows/package.yml (2 hunks)
  • .gitignore (1 hunks)
  • .gitmodules (1 hunks)
  • Common-UI (1 hunks)
  • angular.json (1 hunks)
  • package.json (1 hunks)
  • scripts/ci-prebuild.js (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/package-prod.yml

[warning] 1-1: too many spaces after colon

(colons)


[error] 20-20: trailing spaces

(trailing-spaces)


[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)


[error] 43-43: trailing spaces

(trailing-spaces)


[error] 44-44: trailing spaces

(trailing-spaces)

.github/workflows/build-on-pull-request.yml

[error] 22-22: trailing spaces

(trailing-spaces)

.github/workflows/package.yml

[error] 20-20: trailing spaces

(trailing-spaces)


[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)


[error] 40-40: trailing spaces

(trailing-spaces)


[error] 41-41: trailing spaces

(trailing-spaces)


[error] 43-43: trailing spaces

(trailing-spaces)

🔇 Additional comments (16)
Common-UI (1)

1-1: Confirm Submodule Commit Hash Update

The submodule commit has been updated to 881c2339634ed4a292d271d52c4365af496405fd. Please ensure that this new commit has been thoroughly tested and that its changes do not inadvertently affect the build process.

scripts/ci-prebuild.js (1)

45-45:

Details

❓ Verification inconclusive

New environment variable added for session storage encryption

A new environment variable SESSION_STORAGE_ENC_KEY has been added with an empty default value. This appears to be related to encryption of browser session storage data.

While the implementation is straightforward, ensure that this key is properly populated in CI environments to avoid security risks. Empty encryption keys could potentially compromise the security of stored data.


🏁 Script executed:

#!/bin/bash
# Check if SESSION_STORAGE_ENC_KEY is being set in other files or CI configuration
grep -r "SESSION_STORAGE_ENC_KEY" --include="*.json" --include="*.yml" --include="*.yaml" .

Length of output: 91


Action Required: Verify CI Configuration for Session Storage Encryption Key

The new environment variable SESSION_STORAGE_ENC_KEY is defined in scripts/ci-prebuild.js (line 45) with an empty default value. Our initial grep search in JSON, YAML (and similar configuration files) did not return any instances of this key, which suggests it might be intended to be set externally (e.g., via environment variables or secret management in CI).

To ensure stored session data is properly secured, please manually verify that a proper, non-empty encryption key is being provided in your CI environment settings. If this key is meant to be configured via an external file (such as a .env file) or a CI secret configuration, double-check that the configuration is correctly updated.

.gitignore (1)

46-46: Environment file correctly excluded from version control

Adding environment.ci.ts to .gitignore is appropriate as it's a generated file from the ci-prebuild script that may contain sensitive information.

.eslintrc.json (3)

8-9: Format simplification for TypeScript files configuration

The TypeScript files array has been simplified to a single line, and the Prettier plugin has been removed from the extends array. This change streamlines the configuration.

Also applies to: 13-14


40-41: Format simplification for HTML files configuration

The HTML files array has been simplified to a single line, improving readability.


55-69: Added JavaScript/JSX linting configuration

New ESLint configuration for JavaScript and JSX files has been added with appropriate rules, which will help maintain code quality in these file types.

The configuration enforces good practices like:

  • Warning for unused variables
  • Prohibiting console statements
  • Requiring strict equality checks

This will help catch issues during the build process, aligning with the PR objectives to fix build issues.

.gitmodules (1)

3-3: Standardized submodule URL format

The URL for the Common-UI submodule has been updated to remove the .git suffix, which standardizes the URL format while maintaining the same functionality.

This change aligns with the PR objective of updating the submodule references.

angular.json (1)

56-62: Production Build Configuration – File Replacements Added
The addition of the "fileReplacements" property in the production configuration correctly maps the non-production environment file to "src/environments/environment.prod.ts". This change ensures that environment-specific settings are applied during production builds.

.github/workflows/build-on-pull-request.yml (3)

12-12: Checkout Action Upgrade
Upgrading from actions/checkout@v3 to actions/checkout@v4 is a positive change and aligns with current best practices.


23-26: Node.js Setup Action Upgrade
The update to actions/setup-node@v4 is correctly applied and helps maintain consistency across workflows.


29-34: Revised Build Command
Changing the build command to npm run build-ci ensures consistency with the new build scripts.

.github/workflows/package.yml (2)

28-31: Node.js Setup Action
The node setup now uses actions/setup-node@v4, which is correctly configured.

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 31-31: wrong indentation: expected 8 but found 10

(indentation)


[error] 31-31: trailing spaces

(trailing-spaces)


41-49: Artifact Upload Step Update
Upgrading to actions/upload-artifact@v4 is properly implemented. The configuration for uploading the WAR file looks correct.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 41-41: trailing spaces

(trailing-spaces)


[error] 43-43: trailing spaces

(trailing-spaces)


[error] 48-48: trailing spaces

(trailing-spaces)

.github/workflows/package-prod.yml (2)

29-32: Node.js Setup Action
The node setup section is correctly updated to use actions/setup-node@v4.

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 32-32: wrong indentation: expected 8 but found 10

(indentation)


45-50: Artifact Upload Step
The artifact upload is correctly configured using actions/upload-artifact@v4, with proper artifact naming and path settings.

package.json (1)

13-16: Robust Environment File Check in Build Scripts
The updated build scripts for "build-dev", "build-prod", "build-ci", and "build-test" now include a check to ensure that src/environments/environment.ts exists before the build process runs. This proactive safeguard should prevent build failures related to a missing file.

Comment thread .eslintrc.json
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unused-vars": 0,
"@angular-eslint/template/click-events-have-key-events": 0,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Accessibility rule disabled

The rule requiring click events to have corresponding key events has been disabled, which may impact accessibility for keyboard users.

Consider addressing the underlying accessibility issues rather than disabling the rule. This approach would ensure the application remains accessible to keyboard users, including those using screen readers or those who cannot use a mouse.


🏁 Script executed:

#!/bin/bash
# Find components with click events that may need keyboard event handlers
grep -r "(click)" --include="*.html" src/

Length of output: 6103


Accessibility: Review and Update Keyboard Event Handling

The ESLint rule "@angular-eslint/template/click-events-have-key-events": 0 in your configuration is currently disabled. The grep search confirms that many components (e.g., in app-header, camera-dialog, common-dialog, etc.) have (click) handlers without obvious corresponding keyboard event handlers. This can significantly affect keyboard accessibility for users.

Please consider:

  • Reviewing Interactive Elements: Identify non-semantic or custom interactive elements that rely solely on click events.
  • Implementing Keyboard Events: Add relevant keyboard event handlers (such as (keydown.enter) or (keyup.space)) to these elements where appropriate.
  • Re-Enabling the ESLint Rule: Once the accessibility issues are addressed, re-enable the rule to help maintain these standards across the codebase.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
.github/workflows/package.yml (2)

20-20: Formatting: Remove Trailing Spaces
The YAML linter has flagged trailing spaces on several lines (lines 20, 40, 41, and 43). Cleaning these up will help maintain a clean configuration file.

Also applies to: 40-40, 41-41, 43-43

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 20-20: trailing spaces

(trailing-spaces)


25-25: Formatting: Fix Indentation in Java Setup
YAML lint indicates a wrong indentation on line 25 (expected 8 spaces, found 10). Adjusting the indentation will improve readability and prevent potential parsing issues.

🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 992c0dd and 8d8da80.

📒 Files selected for processing (2)
  • .github/workflows/package-prod.yml (0 hunks)
  • .github/workflows/package.yml (2 hunks)
💤 Files with no reviewable changes (1)
  • .github/workflows/package-prod.yml
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/package.yml

[error] 20-20: trailing spaces

(trailing-spaces)


[warning] 25-25: wrong indentation: expected 8 but found 10

(indentation)


[error] 40-40: trailing spaces

(trailing-spaces)


[error] 41-41: trailing spaces

(trailing-spaces)


[error] 43-43: trailing spaces

(trailing-spaces)

🔇 Additional comments (6)
.github/workflows/package.yml (6)

19-19: Update: Upgraded Checkout Action to v4
The checkout action has been updated to v4, which aligns with current best practices and should improve performance and feature support.


23-23: Update: Upgraded Setup-Java Action to v4
The Java setup action is now using v4. Please double-check that the provided Java version and distribution settings meet your build requirements.


29-29: Update: Upgraded Setup-Node.js Action to v4
The Node.js setup action has been upgraded to v4 and is configured for node-version 18. Verify that this version is consistent with the rest of your development environment.


39-39: Change: Updated Build Command
The build command has been changed to use npm run build-ci. Ensure that this command is correctly defined in your package scripts and that it fulfills all CI build requirements.


45-45: Update: Upgraded Upload-Artifact Action to v4
The artifact upload action has been updated to v4, which should provide enhanced functionality and bug fixes.


48-48: Change: Updated Artifact Path
The artifact path is now set to dist/scheduler-ui/scheduler-ui.war, ensuring the WAR file is correctly referenced. Confirm that your build process outputs the WAR file to this updated location.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zapper9982 we have to add the submodules. Guess it's missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes , let me fix that up one second !

@Zapper9982

Copy link
Copy Markdown
Contributor Author

@drtechie Updated it to handle submodules

@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2025

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (3)
.github/workflows/build-on-pull-request.yml (3)

11-17: Updated Checkout Step with Submodule Support and Trailing Whitespace Issue
The upgraded checkout action (actions/checkout@v4) now correctly enables submodule checkout (line 16). Please remove the trailing spaces on line 16 to address YAML lint warnings.

-          submodules: true  
+          submodules: true
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 16-16: trailing spaces

(trailing-spaces)


18-21: Added Manual Submodule Update Step
A new step to manually initialize and update submodules has been added. While this provides a safety net, please verify whether this is redundant given that the checkout step now enables submodules by default.


23-28: JDK Setup Step Updated and Trailing Spaces Noted
The JDK setup now uses actions/setup-java@v4 with the correct Java version and distribution. However, a trailing whitespace issue is detected on line 28. Please remove the extra spaces to clean up the YAML.

-              
+              
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 28-28: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8d8da80 and 286e65d.

📒 Files selected for processing (1)
  • .github/workflows/build-on-pull-request.yml (2 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/build-on-pull-request.yml

[error] 16-16: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)

🔇 Additional comments (2)
.github/workflows/build-on-pull-request.yml (2)

29-32: Updated Node.js Setup Step
The Node.js setup uses actions/setup-node@v4 with node version 18 as expected. This update aligns well with the overall improvement of the build process.


34-41: Build Command Update for Consistency
The build step now invokes npm run build-ci, which is consistent with the updated build process across workflows. All installation and configuration commands prior to this step appear in order.

@drtechie
drtechie merged commit 27c70ce into PSMRI:develop Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C4GT Community]: Ensure GitHub Actions Pass Successfully with Correct Node Version and Submodules in Scheduler-UI

2 participants