Skip to content

Commit 6cbc34b

Browse files
committed
ci: add check command
1 parent 64fd474 commit 6cbc34b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

6161
- name: Lint
6262
run: deno run --allow-env --allow-run --no-prompt npm:@biomejs/biome ci
63+
64+
check:
65+
name: Check
66+
needs: [setup]
67+
runs-on: ubuntu-latest
68+
steps:
69+
- name: Checkout repository
70+
uses: actions/checkout@v5
71+
72+
# Now the Deno cache should be warmed up, so this should be much faster
73+
- name: Set up Deno
74+
uses: denoland/setup-deno@v2
75+
with:
76+
deno-version: 2.x
77+
cache-hash: ${{ env.CACHE_KEY_BASE }}-${{ hashFiles('deno.lock') }}
78+
79+
- name: Lint
80+
run: deno check

0 commit comments

Comments
 (0)