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

Fix NPM Publish #33

Merged
merged 5 commits into from
May 10, 2024
Merged

Fix NPM Publish #33

merged 5 commits into from
May 10, 2024

Conversation

ProfMoo
Copy link
Contributor

@ProfMoo ProfMoo commented May 10, 2024

Description Of Change

The NPM publish job was running even if we didn't bump the version. This PR adds a check to the GHA job that ensures it only runs when the version is manually bumped.

Testing Procedure

N/A

@ProfMoo ProfMoo marked this pull request as ready for review May 10, 2024 14:58
@ProfMoo ProfMoo requested a review from drohit-cb May 10, 2024 15:01
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to NPM
if: steps.check_tag.outputs.EXISTS != 'true'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line is the fix.

@ProfMoo ProfMoo merged commit 1bff45f into main May 10, 2024
3 checks passed
@ProfMoo ProfMoo deleted the fix/npm-version-check branch May 10, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants