-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
2,580 additions
and
5,285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow runs whenever a PR is opened or updated, or a commit is pushed to main. It runs | ||
# several checks: | ||
# - check: checks that the code does not contain any biome warnings | ||
|
||
# This configuration allows maintainers of this repo to create a branch and pull request based on | ||
# the new branch. Restricting the push trigger to the main branch ensures that the PR only gets | ||
# built once. | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
paths: | ||
- 'crates/web/frontend/**' | ||
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that | ||
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
name: nextjs | ||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
name: biome ci | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: biomejs/setup-biome@v2 # Biome automatically detects the version based on the lockfile | ||
with: | ||
working-dir: crates/web/frontend | ||
- name: Run biome check | ||
working-directory: crates/web/frontend | ||
run: biome ci ./src |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.