Skip to content

Commit bada31d

Browse files
👷 Add test CI
1 parent 0769c4e commit bada31d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test CI
2+
on:
3+
push:
4+
branches-ignore:
5+
- "master"
6+
pull_request:
7+
branches-ignore:
8+
- "master"
9+
jobs:
10+
build:
11+
name: ${{ matrix.kind }} ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
14+
strategy:
15+
matrix:
16+
os: [macOS-latest, ubuntu-latest, windows-latest]
17+
env:
18+
GH_ACTIONS: true
19+
DENO_BUILD_MODE: release
20+
V8_BINARY: true
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Setup Deno
24+
uses: denolib/setup-deno@master
25+
with:
26+
deno-version: 1.x
27+
- name: Run tests
28+
run: deno test --allow-read

0 commit comments

Comments
 (0)