Skip to content

Commit f919c58

Browse files
authored
Deno run tests workflow
1 parent 0c028f3 commit f919c58

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/deno.yml

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

0 commit comments

Comments
 (0)