Skip to content

add github workflows #2

add github workflows

add github workflows #2

Workflow file for this run

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
deno: [0.32.0, 0.31.0, 0.30.0]
name: Test with Deno ${{ matrix.deno }}
steps:
- uses: actions/checkout@master
- name: Setup Deno
uses: denolib/setup-deno@master
with:
deno-version: ${{ matrix.deno }}
- name: Setup Node
uses: actions/setup-node@master
with:
node-version: 12
- name: Print deno version
run: deno --version
- name: Check format
run: deno fmt --check **/*.ts
- name: Run tests
run: deno test.ts