Skip to content

Commit fb39034

Browse files
committed
Add Github CI
1 parent ff9d634 commit fb39034

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/deno-ci.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deno CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request: {}
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
name: Deno ${{ matrix.deno-version }}
13+
strategy:
14+
matrix:
15+
deno-version: ["v1.4", "v1.5", "nightly"]
16+
17+
steps:
18+
- name: Checkout source
19+
uses: actions/checkout@v2
20+
21+
- name: Use Deno ${{ matrix.deno-version }}
22+
uses: denolib/setup-deno@v2
23+
with:
24+
deno-version: ${{ matrix.deno-version }}
25+
26+
- name: Check mod.ts
27+
run: time deno cache --reload mod.ts
28+
- name: Check demo.ts
29+
run: time deno cache demo.ts

0 commit comments

Comments
 (0)