-
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 991 Bytes
/
test.yaml
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
39
40
41
42
43
44
45
46
47
48
name: test
on:
push:
paths-ignore:
- 'docs/**'
schedule:
- cron: '* 9 * * *'
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04, macos-latest, windows-latest]
deno: [1.16.0, 1.15.0]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
- name: Lint
run: |
deno fmt -c deno.json --check
deno lint -c deno.json
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04, macos-latest, windows-latest]
deno: [1.16.0, 1.15.0]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
- name: Test
run: deno test --ignore=node_modules,_docs --import-map=test_import_map.json --doc