File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
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 : ["5.x"]
14
+ pull_request :
15
+ branches : ["5.x"]
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@v1
30
+ uses : denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
31
+ with :
32
+ deno-version : v1.x
33
+
34
+ # Uncomment this step to verify the use of 'deno fmt' on each commit.
35
+ # - name: Verify formatting
36
+ # run: deno fmt --check
37
+
38
+ - name : Run linter
39
+ run : deno lint
40
+
41
+ - name : Run tests
42
+ run : deno test -A
You can’t perform that action at this time.
0 commit comments