feat: jsr support + deno serve support (#13) #61
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
name: check | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Run deno lint | |
run: deno lint | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Run deno fmt | |
run: deno fmt --check | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Run deno test | |
run: deno test | |
doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Run deno test --doc | |
run: deno test --doc |