File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 :
10+ on :
11+ push :
12+ branches : ["main"]
13+ pull_request :
14+ branches : ["main"]
15+
16+ permissions :
17+ contents :
18+
19+ jobs :
20+ test :
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - name : Setup repo
25+ uses : actions/checkout@v4
26+
27+ - name : Setup Deno
28+ # uses: denoland/setup-deno@v1
29+ uses : denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
30+ with :
31+ deno-version : v1.x
32+
33+ # Uncomment this step to verify the use of 'deno fmt' on each commit.
34+ # - name: Verify formatting
35+ # run: deno fmt --check
36+
37+ - name : Run linter
38+ run : deno lint
39+
40+ - name : Run tests
41+ run : deno test -A
You can’t perform that action at this time.
0 commit comments