-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 899 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (31 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
verify:
name: Verify (fmt / lint / check)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: "2.x"
- name: Format check
run: deno fmt --check
- name: Lint
run: deno lint
- name: Type check (mod.ts only)
# Scoped to mod.ts because the **/*.ts glob picks up docs-site/ Astro
# internals and root-level scripts that produce 11k+ unrelated errors.
# Tests intentionally excluded — 7 pre-existing failures tracked
# separately. See follow-up issue.
run: deno task check