-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 915 Bytes
/
deno.yml
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
49
50
51
52
53
name: Deno
on:
workflow_dispatch:
push:
branches:
- main
- '[0-9]+.x'
tags:
- '*'
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
jobs:
build:
name: tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: true
defaults:
run:
working-directory: deno
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Check Format
if: matrix.os == 'ubuntu-latest'
run: |
make fmt-check
- name: Lint
run: |
make lint
- name: Test
run: |
make test
- name: Generate Bundle
run: |
make bundle