Update ci config #66
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub actions | |
# https://docs.github.com/en/free-pro-team@latest/actions | |
name: ci-test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
deno-version: [1.44.4] | |
steps: | |
- name: Git Checkout Deno Module | |
uses: actions/checkout@v2 | |
- name: Use Deno Version ${{ matrix.deno-version }} | |
uses: denolib/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Lint Deno Module | |
run: deno fmt --check | |
- name: Build Deno Module | |
run: deno run --reload mod.ts | |
- name: Test Deno Module | |
run: deno test --allow-none |