-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (29 loc) · 802 Bytes
/
ci.yml
File metadata and controls
38 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This workflow will install Deno then run Deno fmt and test.
# For more information see: https://github.com/denoland/setup-deno
name: Deno Deploy & Test
on:
push:
branches: ["main", "test"]
pull_request:
branches: ["main", "test"]
permissions:
id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v6
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v2.x
- name: Format
run: deno fmt --check
- name: Lint
run: deno lint
- name: Run tests
run: deno task test
- name: Run tests doc
run: deno task test:doc