Skip to content

Commit 94dd05f

Browse files
committed
Setup automatic testing on commit
1 parent f5697cb commit 94dd05f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/deno.yml

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

0 commit comments

Comments
 (0)