Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks for npm install and build made conditional based on node_modules #415

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

ShilpiRachna1
Copy link
Collaborator

@ShilpiRachna1 ShilpiRachna1 commented Apr 5, 2024

The workflows now run npm install and npm run build conditionally.

  • For master branch, node_modules are not checked in. If this folder is not present, npm install and build tasks will run.

  • For releases/v2, node_modules are checked in. So, the deploy would be done using the checked in files and the build step would be skipped.

Copy link
Collaborator

@kumaraksh1 kumaraksh1 left a comment

Choose a reason for hiding this comment

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

LGTM !!

@kumaraksh1 kumaraksh1 merged commit 5c1d76e into master Apr 5, 2024
6 checks passed
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.

None yet

3 participants