-
-
Notifications
You must be signed in to change notification settings - Fork 54
33 lines (29 loc) · 827 Bytes
/
deno.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
name: Deno CI
on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
deno-version: [1.46.0, "v1.x"]
timezone: ["America/New_York", "Europe/London", "Europe/Berlin", "America/Santiago"]
steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v3
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Test Deno Formatting
run: deno fmt --check
- name: Test Deno Linting
run: deno lint
- uses: szenius/set-timezone@v1.1
with:
timezoneLinux: ${{ matrix.timezone }}
- name: Test Deno Module
run: deno task test