Skip to content

Commit

Permalink
ci: add ci.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu4k authored and Qu4k committed May 28, 2020
1 parent b396685 commit 0c792e9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci

on: [push, pull_request]

jobs:
test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@master
- uses: denolib/setup-deno@master
with:
deno-version: 1.0.2

- run: deno -V

- if: matrix.os == 'ubuntu-latest'
run: deno fmt --check

- run: deno test -A --unstable

0 comments on commit 0c792e9

Please sign in to comment.