Skip to content

Commit 78e2cf7

Browse files
Add deno lint workflow
1 parent ab1876e commit 78e2cf7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/deno.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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@v1
25+
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
26+
with:
27+
deno-version: v1.x
28+
29+
- name: Run linter
30+
run: deno lint --ignore=node_modules,./.*,*.min.*

0 commit comments

Comments
 (0)