Skip to content

Commit 9624ba0

Browse files
authored
Create deno.yml
1 parent a232354 commit 9624ba0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/deno.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will install Deno then run `deno lint` and `deno test`.
2+
# For more information see: https://github.com/denoland/setup-deno
3+
4+
name: Deno
5+
6+
on:
7+
push:
8+
branches: ["main"]
9+
pull_request:
10+
branches: ["main"]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Setup repo
21+
uses: actions/checkout@v4
22+
23+
- name: Setup Deno
24+
uses: denoland/setup-deno@v2
25+
with:
26+
deno-version: v2.x
27+
28+
- name: Verify formatting
29+
run: deno fmt --check
30+
31+
- name: Run linter
32+
run: deno lint
33+
34+
- name: Run tests
35+
run: deno test -A

0 commit comments

Comments
 (0)