Closed jellydn closed 5 months ago
@jellydn Thanks for making the issue.
Could we have a flag to pass to install biome or use a different package manager?
You can install biome manually. It checks if biome is installed and if it is, npm install is not executed. https://github.com/mongolyy/reviewdog-action-biome/blob/main/lib/biome.sh#L4-L17
If you want to install it manually, you will have to install it using your favorite package manager in the step before calling the mongolyy/reviewdog-action-biome@v1
step.
I have not actually tried this, but I believe it works well if you pre-install as follows:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 9
run_install: true
- uses: mongolyy/reviewdog-action-biome@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
This works. Thanks, @mongolyy.
Reproduce steps:
Suggestion
Could we have a flag to pass to
install biome
or use a different package manager? Thank you for your work.I also opened a PR on https://github.com/moleculerjs/moleculer/pull/1282 but let's see if it would resolve the issue.