Skip to content

Commit 5290965

Browse files
committed
ci: add biome linting step
1 parent 026ac44 commit 5290965

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,21 @@ jobs:
4040

4141
- name: Test
4242
run: deno test --allow-read
43+
44+
lint:
45+
name: Lint
46+
needs: [setup]
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout repository
50+
uses: actions/checkout@v5
51+
52+
# Now the Deno cache should be warmed up, so this should be much faster
53+
- name: Set up Deno
54+
uses: denoland/setup-deno@v2
55+
with:
56+
deno-version: 2.x
57+
cache-hash: ${{ env.CACHE_KEY_BASE }}-${{ hashFiles('deno.lock') }}
58+
59+
- name: Test
60+
run: deno run --allow-read --allow-env --allow-run npm:@biomejs/biome ci

deno.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)