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

ci: install slackify globally to avoid conflicts with pnpm #318

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

fmvilas
Copy link
Member

@fmvilas fmvilas commented Oct 30, 2024

Description

Some repos like studio and glee are using pnpm. Pnpm uses a syntax in the package.json file that npm doesn't recognize as valid, namely "package-name": "workspace:*". The Slackify action in this repo tries to install a dependency on the repo using npm and that causes an error: https://github.com/asyncapi/glee/actions/runs/11571817568/job/32210507703.

To avoid this problem, I'd advocate for simply installing the dependency globally instead.

@derberg derberg changed the title fix: install slackify globally to avoid conflicts with pnpm ci: install slackify globally to avoid conflicts with pnpm Oct 30, 2024
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

lgtm

@derberg
Copy link
Member

derberg commented Oct 30, 2024

/rtm

@asyncapi-bot asyncapi-bot merged commit c6d223f into asyncapi:master Oct 30, 2024
22 checks passed
@fmvilas fmvilas deleted the fix-slackify branch October 30, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants