Skip to content

Update the node-version in staging and production Github Actions to latest LTS version #286

@Saitharun279

Description

@Saitharun279

Issue Description

Update the node-version in staging and production Github Actions to latest LTS version, once the incompatibility with ts-node (similar to this one) is resolved.

Expected Behavior

The Github Actions should use the latest LTS node version for building and deploying the application.

Current Behavior

With LTS versions > 18, below error occurs
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"
this is due an incompatibility issue with ts-node.
There are open GitHub issues in ts-node repo to fix this incompatibility
Similar to this one

Screenshots

Screenshot 2024-11-07 at 12 34 35 PM

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

  1. Update the node version in Github Actions to any LTS version > 18, eg: `20.9.0`
  2. Run the Github Action.
  3. `TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"` occurs

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions