-
-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (29 loc) · 742 Bytes
/
Copy pathdeno-ci-check.yml
File metadata and controls
38 lines (29 loc) · 742 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
name: Deno CI Check
on:
pull_request:
branches:
- "main"
paths:
- "**.ts"
- "deno.json"
- ".github/workflows/deno-ci-check.yml"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- name: Setup Deno
uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed # v2.0.5
with:
deno-version: lts
- name: Verify formatting
run: deno fmt --check
- name: Run linter
run: deno lint
- name: Type check
run: deno check baseline-mcp-server.ts
- name: Run tests
run: deno test -A