You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup Biome
v1.0.0
Setup Biome is a GitHub action that provides a cross-platform interface for setting up the Biome CLI in GitHub Actions runners.
The following inputs are supported.
- name: Setup Biome
uses: nhedger/setup-biome@v1
with:
# The version of the Biome CLI to install.
# This input is optional and defaults to "latest".
# Example values: "1.2.0", "latest"
version: "latest"
# The GitHub token to use to authenticate GitHub API requests.
# This input is optional and defaults to the job's GitHub token.
# Example value: ${{ secrets.GITHUB_TOKEN }}
token: ${{ github.token }}
Setup the latest version of the Biome CLI.
- name: Setup Biome CLI
uses: nhedger/setup-biome@v1
- name: Run Biome
run: biome ci .
Install version 1.2.0
of the Biome CLI.
- name: Setup Biome CLI
uses: nhedger/setup-biome@v1
with:
version: 1.2.0
- name: Run Biome
run: biome ci .
The scripts and documentation in this project are licensed under the MIT License.