biomejs / setup-biome Goto Github PK
View Code? Open in Web Editor NEWSetup the Biome CLI in GitHub Actions
Home Page: https://github.com/marketplace/actions/setup-biome
License: MIT License
Setup the Biome CLI in GitHub Actions
Home Page: https://github.com/marketplace/actions/setup-biome
License: MIT License
Error: Not Found - https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name
https://github.com/biomejs/discord-utils-bot/actions/runs/9246721400/job/25451892086#step:3:1
It worked just a few days ago
This could be a killer feature.
If we were able to install the same version used in the package.json
(correct version and architecture), we might be able to install biome binary directly, and we wouldn't need to set up anything else. This is because we don't depend on any runtime.
This could save ton of time in CI times.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
@actions/core 1.10.1
@actions/tool-cache 2.0.1
@octokit/auth-action 5.1.1
@octokit/request-error 6.1.1
@octokit/rest 20.1.1
semver 7.6.2
ts-dedent 2.2.0
yaml 2.4.2
@biomejs/biome 1.7.3
@octokit/types 13.5.0
@types/bun 1.1.2
@types/semver 7.5.8
lefthook 1.6.12
typescript 5.4.5
.github/workflows/integrate.yaml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
oven-sh/setup-bun v1@8f24390df009a496891208e5e36b8a1de1f45135
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
oven-sh/setup-bun v1@8f24390df009a496891208e5e36b8a1de1f45135
.github/workflows/test.yaml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
.github/workflows/update-readme-package-version.yaml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
oven-sh/setup-bun v1@8f24390df009a496891208e5e36b8a1de1f45135
peter-evans/create-pull-request v6@6d6857d36972b65feb161a90e484f2984215f83e
The setup action currently defaults to downloading the latest version of Biome when the version is not specified.
We'd like to explore the possibility of extracting the biome version from the package manager's lock file to setup the same version of Biome as specified in the project's dependencies.
Here's the desired resolution order.
graph LR;
A[specified version]-->B;
B[version from lockfile]-->C;
C[fallback to latest];
We'd like to support the following package managers.
The action currently relies on the user configuring Bun to output a human-readable yarn.lock
file alongside its native bun.lockb
binary file, which requires additional steps.
We'd like to explore the possibility of reading Bun's lockfile to extract the version of Biome, without having to install Bun.
..it seems that the semver tagging is somewhat inconsistent. I would assume that all the v2
tags (sans v2.0.1
) should point to the same commit (7702017)?
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (semanticCommitTypeAll(chore))
Bun is very fast, and it might speed this action up. It also requires no transpilation or bundling, it can run the ts files directly, so it should also help simplify this repo greatly. If building is still faster (which I doubt), then bun can do that too in a single command. Finally, given that the biome npm package is a thin wrapper over the Rust binary, it's unlikely to break. Because of this, I would suggest looking into this option for better speed :)
(I have not measured anything so I might be wrong!)
Edit: another advantage of this approach is that you'll be able to extract the version from bun's lockfile, since it'll be already installed.
We've started using Renovate in the other repositories, let's replace dependabot with Renovate here too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.